I have three JSP pages that use JavaScript as data validation. I was using <noscript> tag to detect if JS was disabled and display an error. It works if user has disabled JS. However, if user came to first page with JS enabled, filled out the form and before submiting page disabled JS — <noscript> does not really work. One the action page I have <noscript> detect, but in does not really work since it displays the <noscript> message, but executes the rest of the page as well.
Receiving Page:
[code]
<html>
<noscript>
<span class=”hsText”>No JavaScript decteted!</span>
<br>
JavaScript must be enabled to use this program. Please click
<a href=”http://www.shopassistant.net/support/scriptenable/”>here</a> to enable JavaScript.
</noscript>
<link rel=”stylesheet” type=”text/css” href=”include/styles.css”>
<script language=”javascript” src=”include/scripts.js”></script>
<body marginheight=”0″
marginwidth=”0″
leftmargin=”0″
rightmargin=”0″
topmargin=”0″
bgcolor=”#ffffff”>
<%
// Do some JSP stuff here
%>
</body>
</html>
Is there any workaround for this?
thanks,
webtekie