Login Register

dojo.io.iframe

Abusing dojo.io.iframe for fun and profit

Hello,

I have the following problem: I'm trying to automate submission of forms via a hidden iframe, so I thought the dojo.io.iframe.* set of functions is just right for me. But I run into practical problems when trying to do this. In fact, my implementation works just fine in Safari and Firefox, but fails silently in IE7... I have been able to narrow this down to the following test case:

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.

Inconsinstent behavior of dojo.xhrPost vs dojo.io.iframe.send

When posting a form with xhrPost, dojo strips away all buttons values, and this is a documented design choice. My application needs the value of the clicked button to be sent along the rest of the form, so I worked around dojo by adding the value to the content dictionary you can pass to xhrPost: it works fine because dojo strips the button values before merging it with the content dictionary.

[fixed]dojo.event has no properties

we'd better use Book 0.9 or 1.0 , not 0.4
in 1.0, there is no dojo.event.connect
it has changed into dojo.connect.
u can c the sample
http://hellokit.egloos.com/tb/1182135
====================================
dojo.event has no properties
initAjax()helloAjaxWorld.ht... (line 31)
toString()dojo.js (line 20)
toString()dojo.js (line 20)
toString()dojo.js (line 20)
toString(load )dojo.js (line 20)
[Break on this error] }
====================================================
I met this error following book0.4
I downloaded and use dojo 1.0.2 on Ubuntu, linux

dojo - 0.9 - Loading Iframe with dojo.io.iframe does not work in IE

Hi ,

I have implemented a blog widget , but it does not work in IE. It works in FF.
Following is the script

< script type="text/javascript" >
var mobchannel_content_width = 280;
var mobchannel_content_height = 728;
var mobchannel_content_language = "ml_IN";
var mobchannel_content_location = "77";
var mobchannel_ua = "guid_of_user";
var mobchannel_widget_id="mobchannel_default_widget_id";

< / script>

< script src="http://ibaaz.com/mobchannelWEB/scripts/content/visitor/widgets/articleWidget.js"
type="text/javascript">

Syndicate content