jQuery表单全选插件 baigoCheckall
- 授权协议: GPL
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://www.baigo.net/jquery/baigocheckall.html
- 软件文档: http://www.baigo.net/jquery/baigocheckall.html
软件介绍
baigoCheckall 表单全选插件是基于 jQuery 的表单全选插件。
使用方法:
-
载入 jQuery 库文件,例:
<script src="jquery.js" type="text/javascript"></script>
jQuery 库文件请到 http://www.jquery.com 下载
-
载入 baigoCheckall 核心文件,例:
<script src="baigoCheckall.js" type="text/javascript"></script>
-
初始化插件,例:
<script type="text/javascript"> $(document).ready(function(){ $("#form_demo").baigoCheckall(); });</script>
-
在需要操作的 checkbox 中定义 id 和 class
其中,id 代表选框本身,class 代表父元素的 id,例:<input type="checkbox" id="first" class="none" /> <input type="checkbox" id="second_1" class="first" /> <input type="checkbox" id="second_2" class="first" /> <input type="checkbox" id="second_3" class="first" /> <input type="checkbox" id="second_4" class="first" />
当用户选中 id 为 first 的选框的时候,class 为 first 的选框将全部被选中,反之则为未选中;
当任意一个 class 为 first 的选框未被选中时,id 为 first 的选框也会处于未被选中状态。
Python高性能编程
【美】 戈雷利克 (Micha Gorelick)、【美】 欧日沃尔德(Ian Ozsvald) / 人民邮电出版社 / 2017-7-1 / 79
本书共有12章,围绕如何进行代码优化和加快实际应用的运行速度进行详细讲解。本书主要包含以下主题:计算机内部结构的背景知识、列表和元组、字典和集合、迭代器和生成器、矩阵和矢量计算、并发、集群和工作队列等。最后,通过一系列真实案例展现了在应用场景中需要注意的问题。 本书适合初级和中级Python程序员、有一定Python语言基础想要得到进阶和提高的读者阅读。一起来看看 《Python高性能编程》 这本书的介绍吧!
