NOTE: Please update your browser. We recommend using IE 7 or FireFox 3.

jQuery – Select all check box

May 3rd, 2008 | Posted in Ajax, Articles, Jquery | No Comments »
Tags: , , ,

Firstly download a copy of jquery library from http://jquery.com/

Open up your text editor and include the jquery library as shown below:


	

In the head of the document add the following script:


Add the checkbox that will be used to select and deselect the others:

 Select / Deselect

The final page should look like this:




	

	
	



Select / Deselect Check box 1 Check box 2 Check box 3 Check box 4 Check box 5 Check box 6

The demo

Click here to see it in action

Download

Click here to download


Found this article useful? Did it save you time?



Tags: , , ,

Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post
 |  TrackBack URI for this post

Post comment