This property is supported to remain consistent with all other form elements. The value returned by a TEXTAREA object should always be "textarea".
This allows you to determine the input type when the form elements array is traversed. Then you can select appropriate handling based on the type value for the element.
See also: | Input.type |
Prev | Home | Next |
TEXTAREA.select() | Up | TEXTAREA.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. |