zoukankan      html  css  js  c++  java
  • 1

        <script>
            $(function () {
                //全选
                $("#chkAll").click(function () {
                    $("[name='chkItem']").prop("checked", $("#chkAll").prop("checked"));
                })
            })

            function Dels() {

                var arr = [];
                if (confirm("确认删除吗?")) {
                    $("[name='chkItem']:checked").each(function () {
                        arr.push($(this).val());
                    })

                    $.ajax({
                        url: "/Students/DeleteInfo",
                        type: "get",
                        data: { id: arr.toString() },
                        success: function (data) {
                            if (data > 0) {
                                alert("删除成功!");
                                location.href = "/Students/Index";
                            }
                        }
                    })
                }
            }
        </script>

  • 相关阅读:
    expect简介和使用例子(转)
    openshift网络
    openstack相关
    SDN的开源方案sonic
    OpenStack Neutron ML2 Deep Dive
    2017双11技术揭秘—阿里数据库计算存储分离与离在线混布
    es的gui工具
    django orm中blank和null的区别
    断关联多表关系阐述
    视图使用
  • 原文地址:https://www.cnblogs.com/jcy1/p/9530937.html
Copyright © 2011-2022 走看看