三态复选框-一个jQuery插件来处理多状态的复选框
资 源 简 介
Tristate Checkbox - jQuery Plugin
Description
This plugin provides multi-state checkbox functionality to a list of checkboxes.
Implementation
The required HTML is nothing but nested unordered lists. The plugin can handle any number nested levels automatically. Simply call the tristate function on the root ul tag like so:
$("ul.triState","").tristate();
The tristate plugin can handle any number of instances on a given page.
There are a couple of options available to customize your installation.
heading (default value = "span.label"): This option allows you to specify the header elements for each sub-list.
showOriginalInputs (default value = false): This option shows the original input elements in addition to the proxy inputs to allow for easy debugging.
View a demo
文 件 列 表
tristate
.svn
3-state-checkbox.gif
demo.html
jquery.tristate.js
jquery.tristate.min.js
tristate.css
.svn
all-wcprops
entries