服务器控件
<asp:DropDownList ID="linklist" runat="server">
</asp:DropDownList>
要实现的效果是,当linklist选择的值发生变化时,无刷新页面重新梆定页面值。
$(function(){
$("#ctl00_ContentPlaceHolder1_linklist").change(function(){
window.location.href='userlist.aspx?gid='+$(this).val();
});
});
浙公网安备 33010602011771号