Validating Check Boxes

The check box property of a field is either on or off . Use its property to validate it:

document.forms[0].status.checked //true if checked; false if not.

Категории