Answers for "increase textarea height"

5

fix textarea size

resize: none;
Posted by: Guest on May-16-2020
1

syntax is being placed in my textarea in html

<textarea name="comment" rows="5" cols="100"></textarea></br></br>
Posted by: Guest on November-24-2020
0

html textarea auto height to amount of text

$('textarea').each(function () {
  this.setAttribute('style', 'height:' + (this.scrollHeight) + 'px;overflow-y:hidden;');
}).on('input', function () {
  this.style.height = 'auto';
  this.style.height = (this.scrollHeight) + 'px';
});
Posted by: Guest on June-03-2020

Code answers related to "increase textarea height"

Browse Popular Code Answers by Language