Login Register

I/O

Why do I often see 404s like dijit/nls/en-us/loading.js?

version:
all

The short answer:
It's harmless. This is the correct behavior when loading translated resources. To avoid the multiple hits and 404s, you need to do a build.

The long answer:

intro_to_dojo_io.html

The page you are looking for is now located here: http://dojotoolkit.org/docs/book/intro_to_dojo_io

Can Dojo help me pass query strings and POST data to the server?

version:
0.4

Dojo can URL encode the arguments list for you, like so:

function getRSS(id,url,limit){
        var obj = document.getElementById(id);
        dojo.io.bind({
                url: "http://localhost/rss/getRSS.php",
                content: {rssurl: url, rsslimit: limit},
                load: function(type, data, evt){
                        RSSLoaded(obj,data); // error handling needed
                },
                mimetype: "text/plain"
        });
}
Syndicate content