Is there a quick way to set an HTML text input () to only allow numeric keystrokes (plus \'.\')?
HTML5 supports regexes, so you could use this:
Warning: Some browsers don't support this yet.