CheckboxGroup

码农软件 · 软件分类 · jQuery表单及相关 · 2019-12-24 17:13:58

软件介绍

Provide "select all" checkbox functionality to a group of checkboxes. The select all checkbox stays in sync with the group so it is appropriately checked when it needs to be.

Example:

 

$('#checkall').checkgroup({groupName:'group'});

 

Also can have multiple select all boxes to one group - for instance one on top of the group and one on bottom:

 

$('.checkall').checkgroup({groupSelector:'.groupclass',enabledOnly:true});

 

The HTML would look like this:

<input type='checkbox' class='checkall'>checkall<br>
<input class='groupclass' name='group' type='checkbox'>chk1<br>
<input class='groupclass' name='group' type='checkbox'>chk2<br>
<input class='groupclass' name='group' type='checkbox'>chk3<br>
<input class='groupclass' name='group' type='checkbox'>chk4<br>
<input type='checkbox' class='checkall'>

 

本文地址:https://codercto.com/soft/d/21865.html

Essential PHP Security

Essential PHP Security

Chris Shiflett / O'Reilly Media / 2005-10-13 / USD 29.95

Being highly flexible in building dynamic, database-driven web applications makes the PHP programming language one of the most popular web development tools in use today. It also works beautifully wit......一起来看看 《Essential PHP Security》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具