SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: JS version

  1. #1
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JS version

    How can you get the JS version of a visitor's browser?

    I can do it like this but I do not want to use this method:

    Code:
    <SCRIPT language="javascript">
    
    var js="1.0";
    
    </SCRIPT>
    
    
    <SCRIPT language="javascript1.1">
    
    js="1.1";
    
    </SCRIPT>
    
    
    <SCRIPT language="javascript1.2">
    
    js="1.2";
    
    </SCRIPT>
    
    
    <SCRIPT language="javascript1.3">
    
    js="1.3";
    
    </SCRIPT>
    
    
    <SCRIPT language="javascript1.4">
    
    js="1.4";
    
    </SCRIPT>
    
    
    <script language="javascript">
    
    document.write(js);
    
    </script>
    Any suggestions?

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All of the scripts that I found doing a search are the one the you're already using.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •