Is it possible to run some HTML5 input types in IE8?

user1907121 picture user1907121 · Dec 21, 2012 · Viewed 11.8k times · Source

Is it possible to run some HTML5 input types in IE8 with any library??
for example with range.

Points: <input type="range" name="points" min="1" max="10">
<input type="submit" value="send">

Answer

Michael Mior picture Michael Mior · Dec 21, 2012

IE8 doesn't support <input type="range">. The most seamless way to accomplish this in older browsers is to detect support and use "polyfills" where needed. A polyfill is designed to add support to older browsers, typically using some JavaScript that tries to emulate what the native behaviour would be.

This page has a great list of polyfills. (And Modernizr is a great way to detect support for these sorts of things.) You'll find polyfills for various input types in that list.