1

ok the thing is that i have a div which show and hide based on the apply button.

1) if you press the apply button and the div is hidden it shows,

2) if the div is shown then it is hidden.

I am using javascript function . how can i make it shown if the javascript is disabled ?(by default it is hidden)

0

1 Answer 1

3

use this code whtever u want to do when ur js is not enabled write in

    <script type="text/javascript">
        document.write("<p>JavaScript is enabled.</p>");
   </script>

     <noscript>
        JavaScript is not enabled or not supported.
     </noscript>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.