Reputation: 393
I have 3 divs called .pageSection, I have a jquery each that hides each item, but I do not want to hide the first item, how would I do this? I tried the following, still hads all items, no errors:
$('.pageSection').each(function(){
if($(this).not(":eq(0)")){
$(this).hide();
}
});
Upvotes: 1
Views: 81