SQL PHP HTML ASP JavaScript articles and free scripts to download
 

JavaScript Checkbox

Checkbox are very common in webpage forms and is used where one more than one option is to be selected out of a given choice by visitors. In a radio ( or period ) button we can select one of option out of several choices given to the user. In a check box we can select more than one.

You can read more about basics and design of checkboxes in our html section

We will discuss here various JavaScript controls for checkbox and its uses.

Checkbox validation

How to validate a checkbox inside a form

Checkbox array

A group of checkboxes can be used as array inside a form

Disable textbox

We can enable or disable a textbox by using one checkbox.

Number of checkbox

Limiting number of checkboxes maximum allowed to be clicked in a form

Uncheck and check

Checking or un checking a group of checkboxes by single button.

Found anything wrong or wants to improve the code by adding more features? Post your short comment here or use the Forum



Further readings
Disabling the submit button till all the elements of the form are validated
getElementById to access form elements with event handlers
Javascript Form Validation
Period button Validation of a form
How to limit number of checkboxes allowed to be clicked inside a form
Checkbox Validation of a form
Displaying checked value of a check box array
disabling checkbox by button click
disabling Period button by a checkbox
Enable or disable of a text box by a checkbox
All Checking & Un checking in a group of checkboxes by single button
Adding options to a drop down list box
Removing options from a drop down list box
Moving options from one drop down list box to other
Dynamic population of second list box based on value of first list box
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked

Join Our Email List
Email:  
For Email Newsletters you can trust
Checkbox
Form validation
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2013 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer