<!DOCTYPE html> | |
<title>Dynamic manipulation of textarea.wrap</title> | |
<link rel=help href=https://html.spec.whatwg.org/multipage/#dom-textarea-wrap> | |
<link rel=author title=Ms2ger href=mailto:ms2ger@gmail.com> | |
<textarea wrap=off cols=20>01234567890 01234567890 01234567890</textarea> | |
<script> | |
document.getElementsByTagName("textarea")[0].wrap = "soft"; | |
</script> |