Answers for "auto width input in js"

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