Guest User

Untitled

a guest
Jun 24th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. $.ajax({
  2. /* ajax options omitted */
  3. error: function (xmlHttpRequest, textStatus, errorThrown) {
  4. if(xmlHttpRequest.readyState == 0 || xmlHttpRequest.status == 0)
  5. return; // it's not really an error
  6. else
  7. // Do normal error handling
  8. });
Add Comment
Please, Sign In to add comment