Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- /* ajax options omitted */
- error: function (xmlHttpRequest, textStatus, errorThrown) {
- if(xmlHttpRequest.readyState == 0 || xmlHttpRequest.status == 0)
- return; // it's not really an error
- else
- // Do normal error handling
- });
Add Comment
Please, Sign In to add comment