jQuery shiftcheckbox plugin
Presenting a jQuery plugin to select a range of consequetive checkboxes with just two clicks. The plugin is inspired from the GMail checkboxes functionality and works exactly the same. Just keep the 'Shift' key pressed and select a starting checkbox and the last checkbox that you want to select. Just try the demo if things are not yet clear
Click here for a demo.
Usage
Include the plugin file in your page after jQuery file, assign similar CSS class names to the checkboxes to group them and call the plugin as follows
-
$(document).ready (
-
function () {
-
$('.css-class-name').shiftcheckbox();
-
}
-
);
You can have as many checkbox groups as you want on the same page as long as each group has a unique CSS class name attached to it.
Download here.
About this entry
You’re currently reading “ jQuery shiftcheckbox plugin ,” an entry on SANIsoft – PHP for E Biz
- Published:
- 7.2.09 / 6:26pm
- Category:
- Javascript, jQuery
- Author:
- Aditya Mooley
20 Comments
Jump to comment form | comments rss | trackback uri