LeonCowle
2010-02-17 12:03:05 UTC
Hi,
I'm having some problems with the mochikit.async code in FF (only
tested in 3.6), whereas it works as expected in IE6/7 and Chrome.
I do something akin to:
function doIt() {
...
var myresult = doSimpleXMLHttpRequest( url, { foo : bar } );
myresult.addCallback( function(result) {
alert("test");
});
...
}
I call doIt (for example) from an onclick event (in my test case, from
a button).
To test I hit the button several times. My "url" cgi script has a
sleep in.
When running the above in IE6/7 or Chrome, the webserver logs show
multiple hits for the XMLHttpRequest call (i.e. as I hit the button
several times). When using FF, the webserver only shows one hit at a
time, and only the next hit once the first one has returned and its
callback func been completed.
Any ideas?
Leon
I'm having some problems with the mochikit.async code in FF (only
tested in 3.6), whereas it works as expected in IE6/7 and Chrome.
I do something akin to:
function doIt() {
...
var myresult = doSimpleXMLHttpRequest( url, { foo : bar } );
myresult.addCallback( function(result) {
alert("test");
});
...
}
I call doIt (for example) from an onclick event (in my test case, from
a button).
To test I hit the button several times. My "url" cgi script has a
sleep in.
When running the above in IE6/7 or Chrome, the webserver logs show
multiple hits for the XMLHttpRequest call (i.e. as I hit the button
several times). When using FF, the webserver only shows one hit at a
time, and only the next hit once the first one has returned and its
callback func been completed.
Any ideas?
Leon
--
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to mochikit+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en.
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to mochikit+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en.