You would normally want the text to wrap within a text area field so that you could see it all. However there may be times when other text wrapping regimes could be useful.
This property will accept the following keywords:
off
physical
virtual
The off keyword switches word wrapping off altogether.
The physical keyword wraps text as it reaches the right border. It will also send the carriage returns back to the server when the form data is submitted.
The virtual keyword shows the word wrapping effect on the screen but the carriage returns are not sent back to the server which remains unaware that any wrapping has occurred. This is probably the most useful setting.
Prev | Home | Next |
TEXTAREA.value | Up | TextCell object |
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. |