开发者

Is there a HTML construct similar to a Select dropdown, but that I can type into?

开发者 https://www.devze.com 2023-03-06 10:37 出处:网络
The client is looking for a control on the page which resembles and behaves like a dropdown select box, but that you can type into.

The client is looking for a control on the page which resembles and behaves like a dropdown select box, but that you can type into.

The page is initially going to load with thousands of items in a dropdown select box. Rather than display all the results, they want to type part of the word they're looking for into the textbox and to filter the result set.

The client specifically stated that they want to have a select box that can accept text. Does such a control exist? Is it someth开发者_StackOverflow社区ing I'm going to have to hack together myself? Can somebody suggest how best to solve this problem?


As mentioned in the comments by dudeNumber4, there is no way to do this with just HTML. The best way would be to use jQueryUI autocomplete

0

精彩评论

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

关注公众号