Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

.css('width') yields wrong value sometimes in IE


Project:Auto Growing Textareas
Version:1.2.2
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active
Description

Using the .css('width') method can yield the wrong width for certain textareas. If you have a textarea in a paragraph which has padding on one side of it, Firefox returns the correct width (both methods) whereas IE only returns the correct width using the .width() method.

Simple change suggested:
ta.css('width') -> ta.width();