See the below code :
. If you need to know on the server, then you could add extra information to
any:
<A HREF="apage.htm"
onClick="this.href='apage.htm?JavaScript=enabled'">...</A>
CGI request:
<A HREF="cgi_program.pl"
onClick="this.href='cgi_program.pl?JavaScript=enabled'">...</A>
Form:
<FORM NAME="myForm" ACTION="whatever.htm"> <INPUT NAME="JavaScript" VALUE=""
TYPE="hidden"> </FORM> <SCRIPT LANGUAGE="JavaScript"><!--
document.myFormJavaScript.value = 'enabled'; //--></SCRIPT>
Thanks
Pradeep
> -----Original Message-----
> From: Daniel Lynn [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 03, 2001 10:47 AM
> To: [EMAIL PROTECTED]
> Subject: detecting settings in browser
>
> Does anyone know if there is any way to use Java to detect if a viewer's
> browser has Javascript enabled?
>
> -Daniel
>
> __________________________________________________________________________
> _
> 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
___________________________________________________________________________
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