On Jan 24, 2009, at 8:02 AM, [email protected] wrote:
Yeah, I figured it was probably something along those lines. So what would be the best way to hide all but the first element of a DIV?
I'm not sure what you mean by "hide all but the first element of a DIV."If you mean, "hide all children except the first," then you could do it like this:
$('div').children(':not(:first-child)').hide();
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com

