Is there a quick way to set an HTML text input () to only allow numeric keystrokes (plus \'.\')?
just use type="number" now this attribute supporting in most of the browsers