我想要一个选择框,用户可以在其中通过单击手动选择选项,以及他可以在该选择框中键入的相同方式(自动建议)。
在此先感谢,Sowmya。
A. 你的意思是 jQueryUI 自动完成?http://jqueryui.com/autocomplete/
var availableTags = [
"ActionScript",
"AppleScript",
];
$( "#tags" ).autocomplete({
source: availableTags
});
B. 或者你的意思是标签输入http://xoxco.com/projects/code/tagsinput/
C. 你想要的评论:http ://harvesthq.github.io/chosen/