Error message is
{"readyState":0,"status":0,"statusText":"NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load...
When the following is executed
$.ajax({
url: "http://swingd.achievedigital.com/action/user_signin.php",
dataType: 'json',
crossDomain: true,
method: 'POST',
async: false,
data: pstr,
success: function(data)
Changing
Async: false to true
causes this error:
{"readyState":0,"responseText":"","status":0,"statusText":"error"}--"error"--""
Anyone have any suggestions? Anything would be greatly appreciated.
Usually, a response of 0 means that the request was not even allowed to reach the server (or the server did not support CORS).
See XMLHttpRequest status 0 (responseText is empty)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With