SQL PHP HTML ASP JavaScript articles and free scripts to download If you are facing any problem in viewing this page, please tell us
 

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.
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
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
Sections
PHP
JavaScript
ASP
HTML
SQL
Photoshop
Articles SEO
Checkbox
Form validation
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.