let say i have 3 text field
what i need is, after user key in 3 chars in a, it will automatically jump to b, after user put 4 chars in b, cursor will jump to c.
possible to do with javascript? any reference?
also, if cursor in c, and user delete using backspace key, possible to jump back to b.... and a after b? just like when u enter serial number for your adobe product.
| Code: |
|
<input type='text' size='3' maxlength='3' name='a'> <input type='text' size='4' maxlength='4' name='b'> <input type='text' size='5' maxlength='5' name='c'> |
what i need is, after user key in 3 chars in a, it will automatically jump to b, after user put 4 chars in b, cursor will jump to c.
possible to do with javascript? any reference?
also, if cursor in c, and user delete using backspace key, possible to jump back to b.... and a after b? just like when u enter serial number for your adobe product.
