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

Q42 How do I detect the version of JavaScript the users browser supports?

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

Try the following:

<script language="JavaScript"><!--
var version = 1;
//--></script>

<script language="JavaScript1.1"><!--
var version = 1.1;
//--></SCRIPT>

<script language="JavaScript1.2"><!--
var version = 1.2;
//--></script>

<script language="JavaScript"><!--
document.write('Your browser supports JavaScript ' + version);
//--></script>

©2018 Martin Webb