How to force Palm WebOS browser to enter numeric data by default?

The following CSS worked fine on my Windows mobile phone, but my Pre didn't enter numerical inputs by default.

input.numeric { -wap-input-format:"*n"; } 

How do I get Pre (and presumably other newer mobile browsers?) By default for numeric inputs?

+4
source share
1 answer

Just a guess, but the new number value for the type attribute, introduced in HTML5, works on Mobile Safari:

 <input type="number" min="0" max="10" step="2" value="6" /> 

Link: http://diveintohtml5.ep.io/forms.html#type-number

+2
source

All Articles