Article Diary - General Knowledge Digest

jQuery Dropdown Check List

Dropdown Check List is a JavaScript Plugin for jQuery library that transforms a regular select html element into a dropdown checkbox list. The Dropdown Check List jQuery widget transforms a regular into a dropdown checkbox list.

Usage

Dropdown Check List plugin dynamically builds a container with checkboxes and labels to replace the select element. You can customize the look and feel of your dropdown check list by simply updating CSS file.
$("#select_id").dropdownchecklist();
The existing select element with id=’select_id’ is replaced by a dropdown checkbox list widget. See the Demo Page for a detailed description and live examples.

Dropdown Checkbox List

How does it work?

Dropdown Check List uses the existing structure of the html select elements on which it is applied to dynamically build a container with checkboxes and labels then hides the original select element. The plugin does not change in any way the existing select element, only syncronize the checked values from the new container to the original select. This approach has the added benefit to allow the use of the plugin with any server technology.

Features
  • Supports items selected by default
  • Set a fixed width on the control even if the dropdown list is wider
  • Set a fixed height of the dropdown list with scrolling
  • Option to let the first item in list check all items
  • Select with groups
  • Single select with radio buttons instead of check-boxes
Download

The current version of drop-down check list can be downloaded from google code downloads. This page, including all required files to run the examples, can be downloaded as zip package from the same location. Dropdown check list requires jquery.js and ui.core.js and has been tested with jquery version 1.2.6. The widget has been tested with IE 7, Firefox 3, Opera 9.6, Safari 3.1 (for windows) and Chrome 0.3 browsers.

Requirements: jQuery

Dropdown Check List Website

Online Demo

4 (2)
Article Rating (2 Votes)
Rate this article
Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Inline Form Validation With jQuery
Viewed 1545 times since Sat, Jan 9, 2010
jDigiClock - HTC Hero Style jQuery Digital Clock
Viewed 1307 times since Tue, Feb 16, 2010
Pastie - Pastebin to Share Source Code with Syntax Highlighting
Viewed 1199 times since Mon, Jan 11, 2010
Create Full Screen Slideshows With Supersized
Viewed 1278 times since Tue, Jan 5, 2010
5 Best Online Diagram Designing Tools
Viewed 14533 times since Sat, Jan 30, 2010
jQuery Slider from a Select Element
Viewed 2770 times since Thu, Jan 14, 2010
TipTip - jQuery Tooltip Plugin
Viewed 1247 times since Thu, Jan 28, 2010
SlideDeck - Cool jQuery Slideshow Plugin
Viewed 1324 times since Thu, Feb 4, 2010
JavaScript Tree Menu Component - jsTree Menu
Viewed 2112 times since Sat, Jan 9, 2010
Free 3D Flash Image Slider - Piecemaker
Viewed 2101 times since Sun, Apr 4, 2010