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

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -