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

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

gtk - Python Window Resize -

c# - read full xml file data over tcp -