perhaps a more simple option…
<html>
<head>
<noscript>
This page needs JavaScript activated to work.
<style>div { display:none; }</style>
</noscript>
</head>
<body>
<div>
my content
</div>
</body>
</html>
More Related Contents:
- Submit a form using Shift + Enter [duplicate]
- How is this not passing PHP values to JS and vice-versa?
- get user timezone [duplicate]
- Download file through an ajax call php
- How to prevent the “Confirm Form Resubmission” dialog?
- Javascript equivalent of PHP’s list()
- int((0.1+0.7)*10) = 7 in several languages. How to prevent this?
- Passing PHP variable into JavaScript [duplicate]
- Track when user hits back button on the browser
- Jquery – Uncaught TypeError: Cannot use ‘in’ operator to search for ‘324’ in
- How can we open a link in private browsing mode
- How to pass JS variable to php?
- How does similar_text work?
- Automatically detect user’s current local time with JavaScript or PHP
- How to display only one country or a specific area in Google maps using the api?
- Pass data from jQuery to PHP for an ajax post
- Saving WAV File Recorded in Chrome to Server
- Whats the easiest way to determine if a user is online? (PHP/MYSQL)
- Javascript function post and call php script
- Unserialize PHP Array in Javascript
- UTF-8 safe equivalent of ord or charCodeAt() in PHP
- onbeforeprint() and onafterprint() equivalent for non IE browsers
- passing PHP objects to javascript [duplicate]
- How to rotate image and save the image
- Go Back to Previous Page
- Sending/Displaying a base64 encoded Image
- Converting Javascript Regex to PHP
- Is it possible to detect a visitor’s browsing history using JavaScript or PHP?
- Best method for converting a PHP array to javascript
- How can you use php in a javascript function [duplicate]