Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Dynamic manipulation of textarea.wrap</title>
<link rel=author title=Ms2ger href=mailto:ms2ger@gmail.com>
<textarea wrap=off cols=20>01234567890 01234567890 01234567890</textarea>
<script>
document.getElementsByTagName("textarea")[0].setAttribute("wrap", "soft");
</script>