你的位置:首页 > 软件开发 > ASP.net > 基础查询,多选,全选,分页功能

基础查询,多选,全选,分页功能

发布时间:2015-05-24 12:01:20
<script type="text/javascript"> $(document).ready(function () {//预加载 ...

     <script type="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 () {

                get='_blank'>window.location.href = "整体.aspx?page=" + $("#hidPage").val() + "&score=" + $(this).val() + "&search=" + $("#searchBox").val();

               

        });

        });

            <asp:DropDownList ID="DropDownList1" runat="server">

                <asp:ListItem Text="查询分数" Value="0"></asp:ListItem>

                <asp:ListItem Text="90分以上" Value="90 and 100"></asp:ListItem>

            </asp:DropDownList>

 <asp:CheckBox ID="chkAll" runat="server" Text="全选" />

后台代码的取值 string score = HttpContext.Current.Request["score"];


原标题:基础查询,多选,全选,分页功能

关键词:分页

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。