Reputation: 41835
<html>
<script src="../jquery.js" type="text/javascript"></script>
<body>
</body>
<script type="text/javascript">
$(":hidden").show();
</script>
</html>
Firefox 3.6 would show $(":hidden").show();
, but IE 8.0 works fine. Is this a bug?
PS: I'm using jquery 1.4.2.
Thanks.
Upvotes: 0
Views: 452
Reputation: 490433
Probably because it is outside the closing body
tag, i.e. </body>
.
Why is it there?
Upvotes: 2