开发者

jquery ui autocomplete match

开发者 https://www.devze.com 2023-02-25 00:46 出处:网络
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.

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

精彩评论

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