This is a jQuery-based, progressively-enhanced solution for creating a single-field credit card input. The idea is to create a more streamlined credit card entry process.
1) Enter a credit card number (you will be autofocused on the expiration field)
2) Shift + Tab back to credit card number
3) Correct a digit
4) You'll be autofocused again on the expiration field, but can't type.
Steps:
1) Enter a credit card number (you will be autofocused on the expiration field) 2) Shift + Tab back to credit card number 3) Correct a digit 4) You'll be autofocused again on the expiration field, but can't type.