How to check earlier version of IE

Hi,

Is there any function to check IE version?
I would like to prompt if users are using IE version below 8.

so far i can find is as follows:

if (webix.env.isIE) {
do_something();
}

Thanks

try this code

if (webix.env.isIE){
       var version = parseFloat(navigator.appVersion.split("MSIE")[1]);
       alert ("vers = " + version); // this alert only for debugging
       if (version < 8)
          alert("Your version IE is old!");
}

Hi Sergebl,

Thank You