29-07-15, 12:38 PM
Val's solution is a good test to see if JavaScript is enabled
I would suggest doing something a little bit easier though;
Full Page:
I would suggest doing something a little bit easier though;
Code:
<noscript>JavaScript is off</noscript>
Full Page:
Code:
<!DOCTYPE html>
<html>
<body onload="document.write('JavaScript is on');">
<noscript>JavaScript is off</noscript>
</body>
</html>