开发者

jquery ui autocomplete match

I implemented jquery autocomplete ui on my page.. But when i search for example "am" every word which CONTAINS "am" is going to be listed in the drop down.

But i want just the words which BEGIN with "am" should be listed.

I dont know how to do that.. can you help me开发者_如何学C plz?


Since you're getting the data from a serverside datasource, you should filter the data that is being returned to the autcomple control. The control will just show whatever data that is returned to it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜