lasers
Technical User
- Oct 24, 2007
- 12
I have an ajax script that works in IE6 and FireFox on my localhost. When I moved everything to a webserver, the ajax script no longer works in FireFox. It does not get past:
Firefox resolves that statement to False on the webserver. But on my localhost all works well.
Can anyone think of a reason why it works in FireFox on localhost but not on a web server?
thanks
Code:
if(XMLHttpRequestObject.readyState==4 && (!XMLHttpRequestObject.status || XMLHttpRequestObject.status==200)){
Firefox resolves that statement to False on the webserver. But on my localhost all works well.
Can anyone think of a reason why it works in FireFox on localhost but not on a web server?
thanks