The type value for a checkbox is always "checkbox". This value is necessary to determine the type of form element because this object is really an instance of the Input class and not the Checkbox class. There is actually no Checkbox class.
See also: | Input.type |
Prev | Home | Next |
Checkbox.status | Up | Checkbox.value |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |