Domino Code Fragment

Code Name*
How to determine if the browser has JavaScript enabled
Date*
06/06/2000
Source (or email address if you prefer)*
awsllc@yahoo.com
IP address:.151.200.109.194
Description*
Type*
HTML, JavaScript
Categories*
User Interface (Web)
Implementation:
None (plug and play)
Required Client:
(none)
Server:
(none)
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
To determine if the browser has JavaScript enabled put the following code in the HTML Head Content section on the form:

"<noscript><meta http-equiv=\"refresh\" content=\"0;url=REDIRECTURL\"></noscript>"


where REDIRECTURL is the URL that you would like to open if JavaScript is not enabled.

NOTE: Make sure you get the quotation marks correct. Remember that the HTML Head Content section is trying to evaluate a formula so you will needs quotes around the statement.

You may still want to check what browser they are using to determine if it supports JavaScript.