SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    <input type="number" id="number"> Does not work in IE9 or Firefox.

    I used this for the user to set a variable...<input type="number" id="number">...
    It works great in Chrome but in FF and IE9 the little up and down arrows do not appear.
    I looked around but couldn't find any answers. Thanks.

  2. #2
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    Input control type <number> is an HTML5 specific attribute that doesn't have a wide range of support yet. It is not supported in Internet Explorer (IE9 doesn't support HTML5 at all) and neither it is in FF. See this chart: http://caniuse.com/#feat=input-number
    Maleika E. A. | Rockatee | Twitter | Dribbble



  3. #3
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That sux....thank you!

    Is there another way to have the user set a numeric value in the same manner as this, it works good in Chrome.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,331
    Mentioned
    463 Post(s)
    Tagged
    8 Thread(s)
    You could use a normal select list.

  5. #5
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,118
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    All input types default to "text" if they're not recognised so they allow you to enter a value, you just don't get the spinner.


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
  •