The type value for a ResetButton is always "reset". 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 ResetButton class. There is actually no ResetButton class.
See also: | Input.type |
Prev | Home | Next |
ResetButton.handleEvent() | Up | ResetButton.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. |