SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict goldensona's Avatar
    Join Date
    Jun 2011
    Posts
    226
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to set numeric keypad in html for android ?

    Hi

    i have set pattern="[0-9]*" for iphone to show numeric keypad,but in android didnt accepts this . if i set type="number" it shows numeric keypad. which one is support for both iphone and andorid. give suggestion or examples?

  2. #2
    SitePoint Addict
    Join Date
    Mar 2010
    Location
    UK
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is stopping you from specifying a pattern and the input type? Two different attribute types that kind of go together well...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •