Check MSIE 7, 8, 9 using JavaScript


        var isIE9 = navigator.appVersion.indexOf("MSIE 9.")!=-1;
        var isIE8 = navigator.appVersion.indexOf("MSIE 8.")!=-1;
        var isIE7 = navigator.appVersion.indexOf("MSIE 7.")!=-1;

Thanks to, jQuery4u.