Is there a quick way to set an HTML text input () to only allow numeric keystrokes (plus \'.\')?
HTML5 has , which sounds right for you. Currently, only Opera supports it natively, but there is a project that has a JavaScript implementation.