I have a web application where I\'m specifying an input field to be a number using the HTML5 property type=\"number\".
You could try ...
which will enforce the entry of 0-9 on Firefox 4 on the desktop as well as an iPhone; I don't have Chrome at hand to try it on, but it should do the same.