[jQuery] Re: Need to hide all elements

2007-06-26 Thread Ganeshji Marwaha
$("div:not(.content)").hide(); On 6/26/07, SimDigital <[EMAIL PROTECTED]> wrote: I need to hide all html elements inside , except a div named content, but don't know how to do that. Example original content: My Slogan Full text about my site After transform: My Slogan Full text about

[jQuery] Re: Need to hide all elements

2007-06-26 Thread Jake McGraw
$("div.content").siblings().hide(); On 6/26/07, SimDigital <[EMAIL PROTECTED]> wrote: I need to hide all html elements inside , except a div named content, but don't know how to do that. Example original content: My Slogan Full text about my site After transform: My Slogan Full text a