JavaScript Coder

javascript get check box

How to get the value of a form element : check box and radio button

This is the third article in the getting form element values using JavaScript series. In this article we will see how to get the value of check box and radio button. Getting a radio element and it's checked value Radio buttons in a form can be grouped together using the same name attribute, such that, if one of them is checked, all the others are automatically un-checked. Let us look at an example:

Continue Reading →