<Input Type="Number"> Not Working in Ie10

input type= number not working in IE10

IE doesn't have support for input type="number" but you can use jQueryUI Spinner widget. It is very simple to use and it has many API's that friendly for developers.

Demo of jQuery-UI Spinner:
https://jqueryui.com/spinner/

API of jQuery-UI Spinner
https://api.jqueryui.com/spinner/#event-change

Why does HTML5 input of type number not work or works sporadically in IE10

When testing this .. does this happen in

Browser Mode: IE10

Document Mode: Standards

???

IE10 does support the input number type but it does not show increment / decrement buttons.

http://msdn.microsoft.com/en-us/library/ie/hh773064%28v=vs.85%29.aspx

check browser support:

http://caniuse.com/#feat=input-number

list of supported input types in IE:

http://msdn.microsoft.com/en-us/library/ie/ms534700%28v=vs.85%29.aspx

UPDATE

looks like this was also asked here:

HTML Number Input removes decimal point?

Force decimal point instead of comma in HTML5 number input (client-side)

http://blog.isotoma.com/2012/03/html5-input-typenumber-and-decimalsfloats-in-chrome/

HTML5 input types not working in IE10

According to Can I Use the date-time input types are not supported by IE. A good alternative would be jQuery UI.

input number don't work in IE

There is limited support in IE and mobile browsers for this input type.

See the following sites for more information:

  • http://html5please.com/#number
  • http://caniuse.com/#feat=input-number
  • http://quirksmode.org/html5/tests/inputs_numbers.html

According to the html5please site, there is a javascript polyfill available which handles old browsers gracefully.



Related Topics



Leave a reply



Submit