我有一个ComboBox
的表单,它提供了dropdownlist
来自db的加载值。
现在问题是当我从组合框中选择一个值时,事件dllTest_SelectedIndexChanged没有从后面的代码中触发。
<asp:DropDownList ID="dllTest" runat="server" AutoPostBack="true" OnSelectedIndexChanged="dllTest_SelectedIndexChanged">
我从jquery调用组合框
$("#<%=dllTest.ClientID%>").combobox();
答案 0 :(得分:0)
尝试使用:
$('#dllTest').combobox();
而不是:
$("#<%=dllTest.ClientID%>").combobox();