is there a way to see if javascript is enabled?

Discussion in 'ASP General' started by wolfing1@yahoo.com, Jul 22, 2005.

  1. Guest

    Say, I would like to kinda have things happen if javascript is enabled
    in the browser, or if it isn't then do some other things. For example,
    if I know javascript is enabled, I could bring a popup window, etc. but
    if it isn't, then I could just provide a link instead.
    How would I go doing that in ASP?
     
    , Jul 22, 2005
    #1
    1. Advertising

  2. ASP runs on the server, and has no idea what client-side JavaScript is. So,
    you have to test for the presence of JS on the client side, then *tell* ASP
    about it.

    http://www.aspfaq.com/2058



    <> wrote in message
    news:...
    > Say, I would like to kinda have things happen if javascript is enabled
    > in the browser, or if it isn't then do some other things. For example,
    > if I know javascript is enabled, I could bring a popup window, etc. but
    > if it isn't, then I could just provide a link instead.
    > How would I go doing that in ASP?
    >
     
    Aaron Bertrand [SQL Server MVP], Jul 22, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gabor
    Replies:
    3
    Views:
    660
    Jacob Yang [MSFT]
    Aug 26, 2003
  2. Chris Ianson
    Replies:
    1
    Views:
    419
    David Dorward
    Apr 1, 2006
  3. Big Daddy
    Replies:
    2
    Views:
    417
    Laurent Bugnion
    May 8, 2006
  4. Rhino
    Replies:
    5
    Views:
    476
    Alex Hunsley
    Sep 5, 2006
  5. JohnnyFive
    Replies:
    1
    Views:
    219
    Dennis Lee Bieber
    Jun 17, 2010
Loading...

Share This Page