|
-
Aug 9th, 2002, 01:33 AM
#1
Thread Starter
Hyperactive Member
How to find a version?
how to find the Javascript version using javascrit code..?
any idea?
thanks
-
Aug 9th, 2002, 09:29 AM
#2
PowerPoster
I found this floating around, seems like a bit of a crap way to go about it mind
Code:
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
jsver = "1.0";
// End -->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Begin
jsver = "1.1";
// End -->
</SCRIPT>
<SCRIPT Language="JavaScript1.2">
<!-- Begin
jsver = "1.2";
// End -->
</SCRIPT>
<SCRIPT Language="JavaScript1.3">
<!-- Begin
jsver = "1.3";
// End -->
</SCRIPT>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
document.write("<B>Your browser supports JavaScript version " + jsver + ".</B>")
// End -->
</SCRIPT>
</body>
</html>
-
Aug 16th, 2002, 11:31 PM
#3
Thread Starter
Hyperactive Member
don't we have a special script to find a version insted of this hard coding..?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|