IE7 + HTML5 + jQuery Selector
Honestly, I'm not sure if this pertains specifically to jQuery or not.
I've got a simple test page that has an <input type="color" ...> element on it, using the mColorPicker plugin.
My JS is as so:
- if ($("input[type='color']").length) {
$.getScript("assets/js/mColorPicker/mColorPicker.js");
}
The problem is, the input[type='color'] selector is not returning any elements in IE7, so $.getScript is never fired. I've got a theory as to why this is happening, but would like to hear your ideas.
P.S. I am using html5shiv (Not that I think it makes any difference in this case.)