select all

jQuery - Select all check box

Saturday, May 3rd, 2008

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