File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Checking if browser supports JAVASCRIPT and COOKIES...

 
Sebastian Milczanowski
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
is there a chance with the aid of JSP to check whether
the browser supports JavaScript and Cookies or not and
send this information by email
My Idee was like this - is there myabe a better Solution?
<script language="JavaScript">
<!--
if(navigator.javaEnabled()){
document.write( "<input type='hidden' name='javaStatus' value='JAVA'></input>" );
}else{
document.write( "<input type='hidden' name='javaStatus' value='NO JAVA!'></input>" );
}
//-->
</script>
<input value="Submit" type="submit"></input>
</form>
Sebastian
Germany 08/22/01
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic