Skip to content Skip to sidebar Skip to footer

Combine Text Input Types Jquery Mobile

in this link: http://jquerymobile.com/demos/1.2.0/docs/forms/textinputs/ at the bottom there are several different text input types. Now my question is how could I combine the tel

Solution 1:

You can use pattern="[0-9]*" attribute to achieve this:

<inputtype="password" name="password" pattern="[0-9]*"id="password" value="" placeholder="Enter your numeric password">

It totally works on iOS.

Post a Comment for "Combine Text Input Types Jquery Mobile"