简体   繁体   中英

Not firing the SelectedIndexChanged when using jquery combobox

I have a form with a ComboBox that provides a dropdownlist with loaded values from db.

Now the problem is when I am selecting a value from the combobox, the event dllTest_SelectedIndexChanged is not firing from code behind.

<asp:DropDownList ID="dllTest" runat="server" AutoPostBack="true" OnSelectedIndexChanged="dllTest_SelectedIndexChanged">

and I am calling the combobox from a jquery

$("#<%=dllTest.ClientID%>").combobox();

Try to use:

$('#dllTest').combobox();

instead of:

$("#<%=dllTest.ClientID%>").combobox();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM