【发布时间】:2014-04-08 01:58:50
【问题描述】:
我正在为以下场景寻找auto complete 解决方案:
我的页面有一个dropdownlist 和textbox:
<table>
<tr>
<td>
<asp:DropDownList ID="ddlRegions" runat="server"></asp:DropDownList>
</td>
<td>
<label>Enter Iso:</label>
<asp:TextBox ID="txtIso" runat="server"></asp:TextBox>
</td>
<td>
</tr>
</table>
在输入 4 个字符后,我需要为我的 textbox 实现 autocomplete 未来。
文本框需要根据从dropdownlist 中选择的选项显示一些数据。
在textbox 中输入值时,我需要显示不超过 10 个选项
我想我需要使用jquery、ajax 和webservice 调用。
我怎样才能完成这样的事情?
谢谢
【问题讨论】:
-
jquery-ui 自动完成?
-
我是新手,所以我不确定 jquery-ui 和其他的有什么区别
标签: javascript jquery ajax autocomplete