Basically, I have a JSP page. I want to know if the javascript is disabled or enabled. Based on that I need o display the content.
If JS is enabled I need to display click to update hyperlink which will shown the firstname, lastname when clicked whereas if JS is disabled I need to display the firstname and lastname text boxes by default
Now my question is how can I use this JS variable in my JSP page.
I tried this code
1.String jsEnabled ="<script>document.write(jsVariable)</script>";
but its not working for me.
Any suggestion...Thanks