javascript TEXTAREA wrap
| wrap | NN 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 |
|
Previous: javascript TEXTAREA createTextRange( )
- #12009-11-13[Quote]TH is a test of the wrapping for this web site to tsee all the va
- #22011-12-23Reviewing ...
2091,Nickname,Homepage or email,Comments here,Add comment
