Skip Navigation
Details
Author: Jake Howlett
Date: Mon 20 Feb 2006

Permalink

Comments / Add / Subscribe

Elsewhere

Yahoo! UI JavaScript treats
Mon 20 Feb 2006 [simon.incutio.com]

More links are available
in the archive »

« Prototype.js and Ajax | Blogs | A Weekend of Compromise »

Bite-Size Article

Finally I got round to publishing a new article. It started out as a blog entry last week and grew to the point where it felt too long. The article itself is a long rambling way of describing a very simple idea.

For those of you adverse to reading such lengthy tomes here's the gist of it. Add the following PassThru HTML to your form:

<noscript>
<input type="hidden" name="JavaScript" value="Off" />
</noscript>

In your WQS LotusScript you can then test whether the browser posting the form supports JavaScript or not. Like so:

If vWebDocument.JavaScript(0)="" Then 'script enabled

For a full explanation read the article. For most of you though I'm sure it all makes sense.

Note: The following function does not achieve the same ends:

@BrowserInfo("JavaScript")

This merely tells you whether the browser actually supports scripting and can't tell you whether the user has disabled it or not.

Comments

YoGi (Wed 22 Feb 2006 03:46 AM) website

great tip ! thx to share.

Add your response here:

Name *:
E-mail:
Protected from spambots!
Website:
rel="nofollow"

Comment *:
HTML is not allowed!

Note: This blog entry is more than two weeks old so your comment, as an anti-spam measure, will be sent for approval.