XMLHttpRequest request is resultin in ReadyState 4 and status is 200.

Posted by deepak on Stack Overflow See other posts from Stack Overflow or by deepak
Published on 2010-05-10T09:24:52Z Indexed on 2010/05/10 9:34 UTC
Read the original article Hit count: 196

Filed under:
|

I am trying to make a XMLHttpRequest Request to a content which is on local, runnin on local webserver from a HTML File and javascript residing locally.

it will hit the webserver request, and then even thou it sends the data back, in my javscript, at once I get readyState 4 and status as 0.

If i try putting the pages in the webserver foloder and access them as webpage slke http;//localhost/ filename then it works fine.

© Stack Overflow or respective owner

Related posts about xmlhttprequest

Related posts about JavaScript