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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -