用JavaScript页面不刷新时全选择,全删除(GridView)
时间:2024-05-11 09:17:20
/*
全选择*/
function SB002SelectAll()
{
var table = document.getElementById("ctl00_MainContent_grvDevelopKit");
for(var i=1;i<table.rows.length;i++)
{
var input = table.rows[i].cells[0].getElementsByTagName("input")[0];
input.checked = !this.checked;
}
}
/*
全解除
*/
function SB002UnSelectAll()
{
var table = document.getElementById("ctl00_MainContent_grvDevelopKit");
for(var i=1;i<table.rows.length;i++)
{
var input = table.rows[i].cells[0].getElementsByTagName("input")[0];
input.checked = this.checked;
}
}
标签:JavaScript,全选择,全删除,GridView
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
python数据分析基础知识之shape()函数的使用教程
2023-06-11 04:03:56
![](https://img.aspxhome.com/file/2023/3/103163_0s.png)
解读数据库的嵌套查询的性能问题
2024-01-20 17:00:06
![](https://img.aspxhome.com/file/2023/5/118435_0s.png)
通过源码分析Golang cron的实现原理
2023-06-15 23:49:24
Python实现Socket通信建立TCP反向连接
2023-11-13 04:20:19
![](https://img.aspxhome.com/file/2023/9/86419_0s.jpg)
MYSQL使用正则表达式过滤数据
2024-01-13 05:33:25
![](https://img.aspxhome.com/file/2023/0/112880_0s.png)
pandas实现数据读取&清洗&分析的项目实践
2022-01-31 09:55:05
Vue.2.0.5过渡效果使用技巧
2024-04-10 10:33:12
![](https://img.aspxhome.com/file/2023/4/139764_0s.png)
解决Python列表字符不区分大小写的问题
2022-09-10 20:43:52
Python牛刀小试密码爆破
2021-10-05 14:18:47
利用nohup来开启python文件的方法
2023-05-08 07:51:29
详尽讲述用Python的Django框架测试驱动开发的教程
2023-04-21 18:28:19
![](https://img.aspxhome.com/file/2023/1/75921_0s.png)
ubuntu 18.04 安装opencv3.4.5的教程(图解)
2022-10-29 16:36:01
![](https://img.aspxhome.com/file/2023/6/90566_0s.jpg)
PHP程序员玩转Linux系列 nginx初学者引导
2023-11-21 19:51:16
用Python实现网易云音乐的数据进行数据清洗和可视化分析
2023-07-03 18:53:00
![](https://img.aspxhome.com/file/2023/8/85188_0s.png)
mysql 时间转换函数的使用方法第1/2页
2024-01-21 22:09:40
Python语法分析之字符串格式化
2021-10-09 18:00:09
MySQL中使用or、in与union all在查询命令下的效率对比
2024-01-16 02:28:45
![](https://img.aspxhome.com/file/2023/3/128373_0s.jpg)
windows 2000 IIS下配置Php+Mysql+zend的图文教程(完整版)
2007-06-15 10:51:00
![](https://img.aspxhome.com/file/uploadpic/20076/15/200761515925137.gif)
python 实现网上商城,转账,存取款等功能的信用卡系统
2022-05-26 15:19:36
![](https://img.aspxhome.com/file/2023/0/135060_0s.png)
Python+xlwings制作天气预报表
2021-03-26 14:08:31
![](https://img.aspxhome.com/file/2023/8/92238_0s.png)