Sets a html textbox to only allow numeric input.