Darrell Norton's Blog [MVP]

Sponsors

The Lounge

News

  • Darrell Norton pic

    MVP logo

    View Darrell Norton's profile on LinkedIn

    Currently Reading:

    weewar.com

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
How to determine whether Javascript is enabled

I just found an interesting article on 15seconds, Creating a Server Control for JavaScript Testing by George Masselli. It shows you how to create a control that verifies whether Javascript is supported and enabled. Apparently it is not easy to determine if a user disabled Javascript support for security reasons.


Posted 11-18-2004 12:00 PM by Darrell Norton

[Advertisement]

Comments

Jiho Han wrote re: How to determine whether Javascript is enabled
on 11-19-2004 8:56 AM
It's a nice trick. I don't particularly like the way he handles the form thing. I prefer to walk up from the control using Parent property to find the HtmlForm rather than top-down. And use VerifyRenderingInServerForm - I don't know whether he is using it or not since the zip doesn't include anything.
Darrell wrote re: How to determine whether Javascript is enabled
on 11-20-2004 3:44 AM
His zip file is empty? Hmmm... I'll have to double-check. Thanks Jiho!