Hi, I am making a website that has java in it, I need some help with some code that checks whether someone has javascript enabled, and if not asks them to turn it on.
Any help would be appreciated.
thank you silent, that is what I was after.
First of all: Java and JavaScript are two entirely different and unrelated things. Best not to get them confused.
Second: You can’t check whether JavaScript is enabled per se, but you can use the noscript tag to provide some information in case it is disabled. For example:
<script type="text/javascript">
//some javascript here
</script>
<noscript>
JavaScript must be enabled to use this page.
</noscript>
The content within the noscript tags will only be displayed if JavaScript is disabled.


