![]() |
Re-using XMLHttpRequest object (IE)
Hi guys, I've been tearing my hair out over this. Firefox accepts the following code perfectly, and executes the onreadystatechange function every time. However IE7 (I'm going to try IE6 at work tomorrow) will only execute the function once, any further AJAX requests stick on my "loading..." message, unless you refresh the page and start all over again.
I found articles about problems re-using the XMLHttpRequest object in IE, and they said to shift the onreadystatechange (in the "ajaxGet" function) below the open line (see http://keelypavan.blogspot.com/2006/...ect-in-ie.html ). But this isn't working for me, here's my javascript - any ideas greatly appreciated! :) :
var xmlHttp; |
| All times are GMT -5. The time now is 2:43 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC