Question:What is the purpose of using ajaxError() method? 

Answer The ajaxError() method will be execute every time there is an error in AJAX request. Example given below:
$("#result").ajaxError(function()
{      
$(this).html("<span>An error occurred.</span>");
})
 

+ Report
Total Preview: 1187
What is the purpose of using ajaxError() method?
Copyright © 2024. Powered by Intellect Software Ltd