Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1630 How can I find the major and minor version of the JavaScript support in Internet Explorer?

You are here: irt.org | FAQ | JavaScript | General | Q1630 [ previous next ]

Try this:

<script language="JScript"><!--
var majorVersion;
var minorVersion;

if (typeof(ScriptEngineMajorVersion) + '' == 'undefined') {
  majorVersion = 1;
  minorVersion = 0;
}
else {
  majorVersion = ScriptEngineMajorVersion();
  minorVersion = ScriptEngineMinorVersion();
}

//--></script>

©2018 Martin Webb