Question : IE8 or Higher

Hello Experts,

Is there a way I can do a javascript to check if the user is using IE8 or higher.  If it is, display one thing, if not, display a second message?

Thank you.

Answer : IE8 or Higher

Try this:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
//normal javascript
if(navigator.appName == "Microsoft Internet Explorer" && substr(navigator.appVersion, 0, 3) == '4.0'){
    alert('IE8');
}else{
    alert('not IE8');
}

//With jQuery
if($browser.msie && $browser.version == '8.0'){
    alert('IE8');
}else{
    alert('not IE8');
}
Random Solutions  
 
programming4us programming4us