The checkbox Object [2|3|I]

The checkbox object makes a check box in an HTML form available in JavaScript.

Properties

  • checked— A Boolean value indicating whether the check box element is checked.

  • defaultChecked— A Boolean value indicating whether the check box element was checked by default (that is, it reflects the checked attribute).

  • enabled— A Boolean value indicating whether the check box is enabled. (Not 2|3.)

  • form— A reference to the form object containing the check box. (Not 2|3.)

  • name— A string value containing the name of the check box element.

  • type— A string value reflecting the TYPE attribute of the <input/> element. (Not 2|I.)

  • value— A string value containing the value of the check box element.

Methods

  • click()— Emulates the action of clicking ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.