|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by appstar in Asynchronous Javascript and XML (AJAX), JScript, Extensible HTML (XHTML)
I have a similar question like this,
http://www.experts-exchange.com/Programming/Languages/Scripting/AJAX/Q_24530769.htmlI do encounter similar problem randomly that xhr.status is 0 when xhr.readyState is 4. I've been researching online and found there is no case for http request to return 0.
In that answered question, I don't quite get the meaning of the solution. Could someone shed more light on this? In what case xhr.status would be 0? Is
if (xhr.status == 200 || xhr.status == 0)
a good solution for this after all?
Thanks.
20091111-EE-VQP-91 - Hierarchy / EE_QW_Related_20080208