Answers for "auto expand input height based on text length"

2

input width autosize

<input 	id="txt" 
		type="text" 
        onkeypress="this.style.width = (this.value.length + 1) + 'em';">
Posted by: Guest on October-26-2020

Code answers related to "auto expand input height based on text length"

Browse Popular Code Answers by Language