Check if JavaScript is enabled with asp.net

Solution

<html>
<body>
<noscript>
javascript is disabled on your browser
<style>div { display:none; }</style>
</noscript>
<div>
your content
</div>
</body>
</html>

 

About the Author

avatar