I'm looking for a dropdown box or combobox which allows the user to select a value from the list or type their own. Does anyone have any suggestions for the above which is visually appealing and fun开发者_如何转开发ctional? I'm using ASP.NET MVC and JQuery.
You can achieve this with the jQuery UI library, there's an example at this page.
It's a combination of the Button, ComboBox and Autocomplete elements included in the library.
UPDATE
You can find an example of how to do this without the autocomplete function on this page
Specifically the autoShow
option that widget provides will stop the autocomplete from dropping down while typing
精彩评论