Detecting... Javascript...

Discussion in 'ASP .Net' started by Nelson, Nov 12, 2004.

  1. Nelson

    Nelson Guest

    How to detect Java script is enabled or not in a browser?
    Thanks,
    Nelson
     
    Nelson, Nov 12, 2004
    #1
    1. Advertising

  2. Nelson

    clintonG Guest

    The same methodology thas was initially devised is still required. The most
    common methodology being the attempt to use JavaScript to implement a
    scripting function such as assigning the date to a variable and then trying
    to determine if the variabe contains data.

    The same is true when trying to determine if the browser remains configured
    to support cookies. Try to write a cookie and then try to read it.

    Don't be confused by the System.Web.HttpBrowserCapabilities class as all it
    can be used for is to determine if a browser can support JavaScript or
    Cookies and not if JavaScript or cookies have actually been enabled or
    disabled.

    --
    <%= Clinton Gallagher, "Twice the Results -- Half the Cost"
    Architectural & e-Business Consulting -- Software Development
    NET
    URL http://www.metromilwaukee.com/clintongallagher/



    "Nelson" <> wrote in message
    news:...
    > How to detect Java script is enabled or not in a browser?
    > Thanks,
    > Nelson
    >
    >
     
    clintonG, Nov 12, 2004
    #2
    1. Advertising

  3. I usually use google.

    --
    Ben Strackany
    www.developmentnow.com

    <a href="http://www.developmentnow.com">dn</a>


    "Nelson" <> wrote in message
    news:...
    > How to detect Java script is enabled or not in a browser?
    > Thanks,
    > Nelson
    >
    >
     
    Ben Strackany, Nov 12, 2004
    #3
    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. SHarris
    Replies:
    8
    Views:
    11,748
    clintonG
    Feb 15, 2005
  2. Nick Goloborodko

    Detecting JavaScript

    Nick Goloborodko, Mar 12, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    2,780
    Steven Cheng[MSFT]
    Mar 13, 2005
  3. Jensen bredal
    Replies:
    3
    Views:
    365
    darrel
    Mar 31, 2005
  4. =?Utf-8?B?QmVuIEZpZGdl?=

    Detecting if client-side validation javascript is registered?

    =?Utf-8?B?QmVuIEZpZGdl?=, Mar 16, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    391
    =?Utf-8?B?QmVuIEZpZGdl?=
    Mar 16, 2006
  5. =?Utf-8?B?cm9u?=

    Detecting JavaScript problem

    =?Utf-8?B?cm9u?=, Oct 23, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    376
    John Timney \(MVP\)
    Oct 23, 2006
Loading...

Share This Page