惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Apple Machine Learning Research
Apple Machine Learning Research
The Cloudflare Blog
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
L
LangChain Blog
云风的 BLOG
云风的 BLOG
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
I
InfoQ
大猫的无限游戏
大猫的无限游戏
MyScale Blog
MyScale Blog
人人都是产品经理
人人都是产品经理
小众软件
小众软件
量子位
The GitHub Blog
The GitHub Blog
博客园 - 【当耐特】

博客园 - 白沙

自定义鼠标右键弹出式菜单 web菜单的实现【zt】 深入浅出理解索引结构[zt] 你真的了解.NET中的String吗? 堆和栈的区别 软件团队的建设和软件开发管理[zz老秦] 简单的SOCKET传送文件和字符串实现 类与结构的区别 C#中ref和out的使用小结 CSS中expression使用简介(转载) 特效:CSS+Javascript实现表格背景变色 C#箴言:定义常量的两种方法 网页弹出窗口代码【来源于网络】 注意document中需要对象的方式,区别下面四种 div的操作 How to populate the datagrid on background thread with data binding by using Visual C# Good morning I'm very happy to come here to study with you 在 ASP.NET 中执行 URL 重写
jsp对checkbox的操作
白沙 · 2007-05-16 · via 博客园 - 白沙

<script>  
      function   func(){  
          var   options=document.getElementsByName("chkBox");  
          for   (var   i=0;i<options.length;i++){
               if(!options[i].disabled){
                     options[i].checked=true;   
               }
           }
      }  
  </script>  
  <input   type=checkbox   name=chkBox   value=1   disabled>   
  <input   type=checkbox   name=chkBox   value=1>  
  <input   type=checkbox   name=chkBox   value=1>  
  <input   type=checkbox   name=chkBox   value=1> 
  <input   type=button   value="测   试"   onclick="func()">