IO
Cross Domain XMLHttpRequests using an IFrame Proxy
Submitted by jburke on Tue, 08/01/2006 - 07:01.
As of today, the Dojo codebase can do cross domain XMLHttpRequests
(XHR) using an iframe proxy.
dojo.io.bind change: sendTransport off by default
Submitted by david on Sat, 01/21/2006 - 02:29.
We've gone ahead and made the
dojo.transport bind argument off by default. You can turn it on for bind calls individually like so:
dojo.io.bind({
sendTransport: true,
url: '...', // etc...
});
Or globally via djConfig:
djConfig.ioSendTransport = true;With regard to FormBind, you'd specify that one of two ways:
// at declaration
new dojo.io.FormBind({
formNode: 'myForm',
sendTransport: true
});
// later on
- david's blog
- Login or register to post comments
- Read more
- Unsubscribe blog
- Unsubscribe post
Degradable AJAX forms with Dojo
Submitted by david on Fri, 01/20/2006 - 05:58.
While many of you are using Dojo to create high-powered, dynamic applications, I often find myself "sprinkling" Dojo here and there to improve the user experience on "normal" web pages. It is with that in mind that I present to you
dojo.io.FormBind.
FormBind allows you to quickly setup your "Web 1.0" form for asynchronous submission. How do you do it? Easy:
function magicForm() {
var x = dojo.io.FormBind({
// reference your form
formNode: document.forms[1],
