Answers for "textarea with height and width"

2

html textarea height

<!-- textarea rows attribute -->
<textarea id="txtid" name="txtname" rows="4" cols="50" maxlength="200">
A nice day is a nice day.
Lao Tseu
</textarea>
Posted by: Guest on April-05-2021
1

make textarea auto height

function autoResize() {
	console.log('resizing');
	textInput.style.height = (textInput.scrollHeight) + 'px';
}
Posted by: Guest on September-05-2021

Code answers related to "textarea with height and width"

Browse Popular Code Answers by Language