Botan Guner wrote:
[color=blue]
> Here is the problem, i'm using Microsoft.XMLHTTP for ie and
> XMLHttpRequest for mozilla, on my local server which is win2000 server
> i've no problem with that but when i uploaded the file to the web
> server of our company which is redhat 9 i still have no problem with
> mozilla but the ie gives an error like this,
>
> System error: -1072896658[/color]
For which line/statement of your code does it give that error?
[color=blue]
> xmlhttp.onreadystatechange=function() {
> do
> {
> document.getElementById(n).innerHTML=m;
> }
> while(xmlhttp.readyState==200)[/color]
readyState takes values of 0, 1, 2, 3, 4 so I don't know why you check
for the value 200. And a blocking while loop in an event handler is not
a good idea as that way other events could not be processed. But in your
case the loop will not block as the condition readyState == 200 is never
true so while you should remove that loop that is not likely solving the
error problem you have.
--
Martin Honnen
http://JavaScript.FAQTs.com/