Want to hire a development team?
No Images Added Yet

jQuery Word-wrap Plugin

Not Rated Yet.
Add to Favorites
A simple jQuery plugin that allows you to enable and disable wordwrapping on textareas (cross browser).
Product Details

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.

Report this Listing
Licence Type
Submitted on
27th December 2009
Last Updated
6th January 2010
Licence Type
License Price

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(0 ratings)
Not Rated Yet.
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.