anubhav goel

anubhav goel

  • NA
  • 8
  • 1.1k

Jquery internet explorer browser compatibility issue

Nov 11 2014 8:07 AM
function runBrowserCheck()
{
  var bIE = false;
  var iBrowserType = -1;
  var iBogusBrowserVariant = 0;
 
  var cUserAgent = window.navigator.userAgent;
  var cAppName = window.navigator.appName;
 
  bIE = (cUserAgent.indexOf("msie") >= 0);
 
  if (bIE)
  {
    //IE8
    if (cUserAgent.indexOf("MSIE 8.0") >= 1)
        iBrowserType = 5;
    if (cUserAgent.indexOf("MSIE 9.0") >= 1)
        iBrowserType = 5;
  }
}


I am using this jquery to check browser compatibility,but it Shows Internet explorer browser incompatibility issue.
 
 

Answers (1)