How to set the width of a textarea in jQuery?
You could try :
$("#my_textarea").css('width', width);
Use jQuery's css
method like this:
.css("width", width)
or this, if you plan on setting more attributes:
.css({"width":width})
You could try :
$("#my_textarea").css('width', width);
Use jQuery's css
method like this:
.css("width", width)
or this, if you plan on setting more attributes:
.css({"width":width})