当前位置:  首页  >  PHP资讯  >  业界资讯

jquery实现checkbox全选全不选的简单实例

本篇文章主要是对jquery实现checkbox全选全不选的简单实例进行了介绍,需要的朋友可以过来参考下,希望对大家有所帮助

demo一:

复制代码 代码如下:

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib uri="/WEB-INF/tlds/test.tld" prefix="pig"%>
<%
 String path = request.getContextPath();
 String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()+ path;
%>



   
     
 




   

       

           
        
    
                       
                           
                           
                           
                           
                       
               

                              WLAN调查管理                           
                           

                            
                           

                             Onclick="window.location = 'wlan!hotExport.do'" alt = "导出"/>
                           

                             刷新
                           

  
    
 
     

       
               
                                 
                
                 
                
                 
                                    
               
               
                      
                       
                        
                         
                        
                        
                        
                                        
                      
                    
             
记录日期
热点类型
上网类型
手机号码
地址建议

                          
                           
                            
                           

                           
                            
                           

                          
                          
                          
                        

                          ${dto.recmakedate}
                        

                          ${dto.type}
                        

                          ${dto.onlinetype}
                        

                          ${dto.mobileno}
                        

                          ${dto.address}
                        

             
             
                  
                   
                         
                 
              
第${currPage}页 | 共${countPage}页/${countNum}条记录每页 
                         
                                                                条记录 | 第

                     页
                
                
                

                
                
                
                
           
                
                
                

                
                 
                 
                 

                

                
                
                
 
                     

              

                 
                   
当前查询没有数据!

                 

              

    

       

   





demo二:
复制代码 代码如下:

check all

1

2

3

4


内容推荐:免费高清PNG素材下载
吐了个 "CAO" !
扫码关注 PHP1 官方微信号
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有 京ICP备19059560号-4