javascript TEXTAREA wrap

wrapNN n/a IE 4 DOM n/a  

Read/Write  

Indicates whether the browser should wrap text in a textarea element and whether wrapped text should be submitted to the server with soft returns converted to hard carriage returns. A value of hard engages word-wrapping and converts soft returns to CR-LF characters in the value submitted to the server. A value of soft turns on word-wrapping, but does not include the CR-LF characters in the text submitted with the form. A value of off turns word-wrapping off.

 
Example
 
document.forms[0].comments.wrap = "soft";
 
Value

One of the constant values (as a string): hard | off | soft.

 
Default

soft


  • Guest #52
    #1
    2009-11-13
    [Quote]
    TH is a test of the wrapping for this web site to tsee all the va
  • V....
    #2
    2011-12-23
    Reviewing ...
Guest #52
V....

2091,Nickname,Homepage or email,Comments here,Add comment