jQuery UI Autocomplete - How to handle AJAX errors? -
I am using jQuery's autocomplete control to auto-complete the server via an AJAX call . I have implemented the search event to show a "Loading ..." animation while results are being received from the server I want to disable that animation and show a message if the server has its own complete results Failed to get (timeout or whatever), what is the best way to do this?
There is a check post on the jQuery.ajaxError method, which allows you to set a default error callback for all AJAX calls;
Comments
Post a Comment