How to hide all children of a container except a specific one using jQuery?

Posted by wamp on Stack Overflow See other posts from Stack Overflow or by wamp
Published on 2010-05-31T09:44:40Z Indexed on 2010/05/31 9:52 UTC
Read the original article Hit count: 139

Filed under:
<div id="container">
<div id="specific_one">..</div>
...
</div>

I want to hide all children of #container except #specific_one, how to do that?

© Stack Overflow or respective owner

Related posts about jQuery