<select id="sel_YJCL" runat="server"></select>
<input type="button" id="btn_YJCL" runat="server" style="display: none" onserverclick="dp_YJCL_SelectedIndexChanged" />
$(document).ready(function () { $("#sel_YJCL").combobox({ onChange: function (n, o) { //监听了select的onchange事件 document.getElementById("btn_YJCL").click(); } }); });
/// <summary>
/// 绑定数据
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void dp_YJCL_SelectedIndexChanged(object sender, EventArgs e){
}
标签:function,YJCL,JS,onchange,监听,select From: https://www.cnblogs.com/yrhiwx/p/16624586.html