Answers for "textarea height based on content"

1

textarea scale to content

<textarea rows="10" style="font-size: 2vw; width:100%;"></textarea>
Posted by: Guest on July-04-2020
0

get height of text in textarea

ele.scrollHeight (Height of text inside scroll inlduing what u cant see)
ele.clientHeight (What u see)
Posted by: Guest on September-05-2021

Code answers related to "textarea height based on content"

Browse Popular Code Answers by Language