Bo Adan
1
Q:

input width autosize

<input 	id="txt" 
		type="text" 
        onkeypress="this.style.width = (this.value.length + 1) + 'em';">
1

New to Communities?

Join the community