开发者

Loading... message on jquery autocomplete

开发者 https://www.devze.com 2023-01-10 08:10 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消