The following CSS worked fine in my Windows mobile phone, but my Pre won't default to numeric inputs.
input.numeric {
-wap-input-format:"*n";
}
How do I get the Pre (and presumably other newer mobile browsers?) to default to numeric inputs?
The following CSS worked fine in my Windows mobile phone, but my Pre won't default to numeric inputs.
input.numeric {
-wap-input-format:"*n";
}
How do I get the Pre (and presumably other newer mobile browsers?) to default to numeric inputs?
Just a guess, but the new
numbervalue for thetypeattribute introduced in HTML5 does work on the Mobile Safari:Reference: http://diveintohtml5.ep.io/forms.html#type-number