zoukankan      html  css  js  c++  java
  • js checkbox

            //        var bd = Form1.getElementsByTagName("input");//得到GridViewbd的所有input控件        

    //        var qx = document.getElementById("CheckAll");//得到id是checkall的信息        

    //        for (i = 0; i < bd.length; i++) {     //循环GridViewbd的控件        

    //            alert(bd[i].id);        

    //            if (bd[i].id == "MainContentPH_LeftContentPH_ctl02_dbGridView_ctl00_ctl01_ctl00_chkSelect_" + i)    

    //判断check的id是否等于  循环出空间的个数        

    //            {        

    //                if (bd[i].type == "checkbox") {

    //判断是否checkbox

            //                    bd[i].checked = qx.checked;

            //                }       

      //            }        

    //        }        

    //    })     

        //})

            //$(function () {        

    //    $("#CheckAll").click(function () {        

    //        alert(this.checked.toString());     

        //        var mark = this.checked;     

        //        $(":checkbox").each(function () {     

        //            alert(this.CssClass)       

      //            if (this.CssClass == "cd") {      

       //                this.checked = mark;       

      //            }      

       //        })

            //        

        //  if ($(":checkbox").ToolTip != null && $(":checkbox").ToolTip>0)        

    //            $(":checkbox").attr("checked", $(this).attr("checked"));

            //            $("[input]").attr("checked",$(this).attr("checked"))       

      //        })        

    //$("ProvinceLB").click(function () {

            //})      

       // })

  • 相关阅读:
    Java中的Socket用法
    ASP.NET MVC5 的请求管道和运行生命周期
    cookie、session和application
    手把手带你开发一款 IIS 模块后门
    HttpModule介绍
    ASP.NET MVC入门到精通——MVC请求管道
    HttpModule的认识
    WCF技术剖析之二:再谈IIS与ASP.NET管道
    ASP.NET Process Model之二:ASP.NET Http Runtime Pipeline
    ASP.NET Process Model之二:ASP.NET Http Runtime Pipeline[上篇]
  • 原文地址:https://www.cnblogs.com/yyzyou/p/3238158.html
Copyright © 2011-2022 走看看