开发者

asp.net mvc javascript disable show and hide div

开发者 https://www.devze.com 2023-01-31 13:46 出处:网络
ok the thing is that i have a div which show and hide based on开发者_开发知识库 the apply button.

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)


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>
0

精彩评论

暂无评论...
验证码 换一张
取 消