开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜