<script type="text/javascript">
var jsver = 1.0;
</script>
<script language="Javascript1.1">
jsver = 1.1;
</script>
<script language="Javascript1.2">
jsver = 1.2;
</script>
<script language="Javascript1.3">
jsver = 1.3;
</script>
<script language="Javascript1.4">
jsver = 1.4;
</script>
<script language="Javascript1.5">
jsver = 1.5;
</script>
<script language="Javascript1.6">
jsver = 1.6;
</script>
<script type="text/javascript">
document.write('Javascript version ' + jsver+ ' supported');
</script>
Note:
Firefox, Netscape 7/8, Mozilla, and Opera 7+ all support version 1.6
Netscape 6 supports version 1.5
Opera 6 supports version 1.4
Netscape 4.5, Opera 5, and Internet Explorer 6 support version 1.3
Netscape 4 supports version 1.2
No comments:
Post a Comment