Turns out that xmlhttp.onreadystatechange is *write-only* in IE6, so
attempting to read it was causing the code to barf. (Probably ok in other
browsers but this particular work is in an IE6-only intranet)
Is there any other way to set up a custom handler for the onreadystatechange
event?
Would
George Adamson schrieb:
Thanks for the code Klaus. Nice idea...
When I tried this, the ajax call worked but the xhr.onreadystatechange is
'undefined' so I cannot do anything with it. (I got the samer error when
trying to use a function in the 'beforeSend' ajax argument.)
Does Jquery
Thanks for the code Klaus. Nice idea...
When I tried this, the ajax call worked but the xhr.onreadystatechange is
'undefined' so I cannot do anything with it. (I got the samer error when
trying to use a function in the 'beforeSend' ajax argument.)
Does Jquery definitely return the XMLHTTP
Hi folks,
Anyone know if it is possible to add a custom event handler for the
onreadystatechange events of JQuery AJAX calls?
I'm accessing a url that is slow to complete but does add to its output as
it progresses.
It would be nice to be able to catch each new fragment to inform the user of
George,
Have you tried looking the the timeout param? Not sure if it does what I
think it does.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
George Adamson schrieb:
Hi folks,
Anyone know if it is possible to add a custom event handler for the
onreadystatechange events of JQuery AJAX calls?
I'm accessing a url that is slow to complete but does add to its output as
it progresses.
It would be nice to be able to catch each new