JQ change事件

mac2022-06-30  144

服务器控件

<asp:DropDownList ID="linklist" runat="server">    </asp:DropDownList>

要实现的效果是,当linklist选择的值发生变化时,无刷新页面重新梆定页面值。

$(function(){    $("#ctl00_ContentPlaceHolder1_linklist").change(function(){        window.location.href='userlist.aspx?gid='+$(this).val();    });  });

转载于:https://www.cnblogs.com/sunnysmile/archive/2009/06/01/1493563.html

最新回复(0)