jQuery Word-wrap Plugin
When it comes to textareas, the concept of word-wrapping is not as easy as it should be. In most browsers, including Firefox, Safari, Chrome, and Opera, you can set the textarea’s wrap attribute to on or off to achieve your preference. Internet Explorer, on the other hand, requires a special value for the wrap attribute. Although it should be simple enough to check for the browser type and toggle the appropriate value for wrap on-the-fly, there’s one more problem. Because it’s not technically a valid attribute, most browsers (other than IE) won’t respond to changes to the wrap attribute that occur via JavaScript. This means that if you want to have a checkbox next to your textarea that enables and disables word-wrapping dynamically, you’re out of luck. That's where the jQuery Word-wrap plugin comes in.