<noscript> not working in Opera 11?

Posted by cappuccino on Stack Overflow See other posts from Stack Overflow or by cappuccino
Published on 2010-12-24T07:56:19Z Indexed on 2010/12/26 21:53 UTC
Read the original article Hit count: 211

Filed under:
|
|

I am testing my noscript tags which display content when javascript is disabled, this works in Safari, Chrome, Firefox, Camino, IE6, IE7, IE8, IE9, basically everything but Opera (I'm running version 11, not sure if its isolated to that version).

In Opera 11 nothing is displayed... is the noscript tag not supported? and what is the alternative?

Nothing surprising:

<noscript>Please enable JavaScript.</noscript>

Located between the body tags.

<html>
<body>
<script>alert('Hello World');</script>
<noscript>Hello World!</noscript>
</body>
</html>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html