Answers for "html get text input size auto"

1

input width autosize

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

Browse Popular Code Answers by Language