Yesterday I was looking for some javascript that would make it so when you’re filling in a set of phone number fields, it would automatically tab the cursor forward when you’re done with a number triplet. No-one I knew where to find such code, and google was failing me. Eventually I found something that worked quite well, and I used it on my credit card boxes as well.

Here it is.

Leave a Reply

Your email address will not be published. Required fields are marked *