HTML 5 forms support type="number", which isn't as handy as you'd think. Chrome forbids spaces, so it's a poor match for phone or CC numbers
miniblog.
Related Posts
Today I learnt "use strict"; even forbids with() statements! https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode#Simplifying_variable_uses Probably a good thing.