|
|
JavaScript CheckboxCheckbox 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.
How to validate a checkbox inside a form
A group of checkboxes can be used as array inside a form
We can enable or disable a textbox by using one checkbox.
Limiting number of checkboxes maximum allowed to be clicked in a form
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
| |
| | |
|
|
|
|
|