TEXTAREA.wrap (Property)

Controls the kind of word wrapping effect within the text area.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyTEXTAREA.wrap

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:

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.