Codessentials

  • Increase font size
  • Default font size
  • Decrease font size
Home Coding tips Web How to check if javascript is enabled?

How to check if javascript is enabled?

Put this in a new file named test.html:

<html>
<head>
<script>
alert("Great, Javascript is enabled!");
</script>
</head>
<body>
<noscript>Damn, Javascript is not enabled</noscript>
</body>
</html>


Save the file and open it in your browser...
 

Bookmark

AddThis Social Bookmark Button


Newsflash

Now we have got some coding tips for the developers amongst you!