Which is the basis you use for detecting it...assuming you have a servlet or
something else serverside to remember whether it is enabled or not, you can you
use a form, or call a script like:


<SCRIPT LANGUAGE="Javascript">
document.write("<img src="..call script here" width=1 height=1>
</SCRIPT>

<NOSCRIPT>
<img src="call the 'no javascript' script here" width=1 heigth=1>
</NOSCRIPT>

The script needs to return a little transparent gif or something. Alternatively
use hidden fields in a form with the same technique, if you have a login form.

simon

Rosdi Sedi wrote:

> you can't. since you will need some sort of javascript code to do that...
>
> ----- Original Message -----
> From: Glen Stampoultzis <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 03, 1999 6:39 AM
> Subject: Detecting JavaScript support
>
> > What's the easiest way to detect Javascript support in a browser?
> >
> > -- Glen Stampoultzis
> >

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to