Resize custom textarea not working - jQuery/javascript
I am have a button that sets a textarea with a certain width and height.
Those values are changing because I store them in the database.
$("textarea").css({"width":width,"height":height});
The problem is if I do that, the textarea won't be resizable anymore and
it would be always in the same width and height as I set in the jQuery
code.
Is there a fix for this?
No comments:
Post a Comment