Login Register

cross-domain

cross domain XHR - question regarding XHR plugin api

Hello,

I just read the post on Sitepen about the upcoming XHR plugin registry to prioritize cross-domain transports. It only mentioned native implementation (if available), window name and iFrame fragment methods.

Cross-domain XHR in dojox

Hi
Is there an example that illustrates how to use cross-domain communication using dojox trick. I was using Julien's Cross Frame framework but that has a limitation on the message (esp. for IE.) So now I Am trying to switch to dojox cross frame. I found an example in the book but it is for the older version of dojo. I am using dojo 1.1.0 (can also switch to the latest version.)

Thank you!

Loading custom modules in IE7

I am trying to build a custom widget, which I have placed in my own namespace mojo; the widget's name is mojo.View.

When I test in FireFox 3, everything works beautifully--well, except for my own bugs, but I can handle those.

When I test in IE7, I get the error:

Could not load 'mojo.View'; last tried '/dojotest.nsf/mojo/View.js'

(FYI, dojotest.nsf is a Domino database, but it serves web pages like any other web server, and so should not e an issue.)

I have tried googling for this, and found JBurke's example described here

storage + xd + IE6 = pain

I've got a very basic cross-domain build of 1.1.0 that mostly works great but errors badly when trying to load dojox.storage in IE6--it throws a "can't load cross-domain resource" exception that I can't fully capture (the debugger refuses to show me anything).

I tried creating a storage layer as suggested by the storage profile...

dependencies = {
layers : [
{
name: "../dojox/storage/storage-browser.js",
layerDependencies: [
],
dependencies: [
"dojox.storage",

How can I get POST response when crossing-domain request

When I send a POST request cross-domain, (for example, using dojo.io.iframe), how can I receive the post result/response. Because there is no permission to get the post response through iframe textarea directly.

Syndicate content