开发者

Searching by selectbox

I have a problem with searching by selectbox. I found a very good plugin for searching (QuickSearch), but it works only as an input type text. I need this to work as selectbox with options where they will have defined values ​​and the user will select from them.If anyone knows how to do this using either开发者_如何学编程 a quicksearch or something else I will be very grateful to him. Thank you for your help


Finally I sort it out. I just fired change event on selectbox to change value of input and also fired keyup event to make text input work


This worked for me:

$('input').quicksearch('#your-select option');
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜