<scripttype="text/javascript">
$(document).ready(function(){//预加载
$('#chkAll').click(
function(){
$("INPUT[type='checkbox']").attr('checked',$('#chkAll').is(':checked'));
});
//$('#chkAll').click(
function(){
$("input[name='chkItem']").each(function(){
this.checked=$('#chkAll').is(':checked');
});
});
$("#DropDownList1").change(function(){
window.location.href="整体.aspx?page="+$("#hidPage").val()+"&score="+$(this).val()+"&search="+$("#searchBox").val();
});
});
<asp:DropDownListID="DropDownList1"runat="server">
<asp:ListItemText="查询分数"Value="0"></asp:ListItem>
<asp:ListItemText="90分以上"Value="90and100"></asp:ListItem>
</asp:DropDownList>
<asp:CheckBoxID="chkAll"runat="server"Text="全选"/>
后台代码的取值stringscore=HttpContext.Current.Request["score"];
新闻热点
疑难解答