internet explorer 10 - HTML5 Input type=Number Polyfill not working in IE10 -


i've attempted use pollyfill: https://github.com/jonstipe/number-polyfill

but nothing in ie10. no script errors either. there besides including js , css file?

i'll go 1 step further , point out official demo polyfill doesn't work in ie10 on windows 8: http://jonstipe.github.io/number-polyfill/demo.html

the problem evident start:

i = document.createelement("input"); i.setattribute("type", "number"); if (i.type === "text") 

the result of i.type in internet explorer 10 "number," meaning internet explorer 10 supports number input type — further confirmed consulting documentation. can confirm functionality in place trying put letters number input — they'll removed when element loses focus.

if want tool progressively enhance interface control in internet explorer, need make make condition resolve true.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -