certainlyakey
6/23/2014 - 12:57 PM

Target IE10 with jQuery

Target IE10 with jQuery

//Detect IE10 and set an appropriate <html> class, considering that IE10 doesn't have conditional classes
if (/*@cc_on!@*/false && document.documentMode === 10) {
    document.documentElement.className+=' ie-10';
}