Results 1 to 3 of 3

Thread: Javascript Enabled?

  1. #1

    Thread Starter
    Addicted Member smh's Avatar
    Join Date
    Oct 2000
    Location
    South Dakota, USA
    Posts
    249

    Javascript Enabled?

    Does anyone have any sample code to check if Javascript is enabled on the users computer?

    Thanks!
    Normal is boring...

    smh

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Use the <noscript> tags.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Code:
    <script language="JavaScript">
    //Please enable JavaScript
    
    <!--
    document.print("JavaScript is enabled.");
    -->
    </script>
    Will give them a message whether or not they have JavaScript enabled.

    If they don't there's no way to do anything. You can't say "if(noJavaScript)" because the code wouldn't execute.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

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



Click Here to Expand Forum to Full Width