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>