Loading... message on jquery autocomplete
How c开发者_开发技巧an I make the jQuery autocomplete show "Loading..." in the dropdown while it's loading?
The plugin adds a class "ac_loading" to the input while its loading. The default stylesheet defines a background image (indicator.gif) for that class.
You can put here your text or image dynamic...
Edit: MM I see you using the jQueryUI autocomplete. But I think you can do it the same way. Just put text in the class the autocomplete plugin creates after you define your object as autocomplete
精彩评论