Weird jquery behaviour

Posted by musoNic80 on Stack Overflow See other posts from Stack Overflow or by musoNic80
Published on 2010-06-01T14:08:34Z Indexed on 2010/06/01 14:13 UTC
Read the original article Hit count: 276

Filed under:
|

I'm trying to achieve something really basic but jquery isn't doing what I expect! I have a div with an id of "stuff". In the css I set the display attribute to "none" with the aim of changing it with jquery. This way the div is hidden unless the user has js enabled. My jquery code is simply $("#stuff").show();

unfortunately this isn't working and the div remains hidden.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css