Tutorial Test for Internet Explorer in JavaScript

var isMSIE = /*@cc_on!@*/0; if (isMSIE) { // do IE-specific things } else { // do non IE-specific things } Reference URL

var isMSIE = /*@cc_on!@*/0;

if (isMSIE) {
// do IE-specific things
} else {
// do non IE-specific things
}

Reference URL

Hot in Week

Popular

Archive

item