Hi Anthony,

Try this ...

$(".divclass:gt(2)").hide()

or this ...

$(".divclass:gt(3)").hide()


cf. http://docs.jquery.com/Selectors/gt#index


Cheers,


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jun 3, 2008, at 7:46 PM, anthonyd wrote:


Hello,
$(".divclass:not(:first)").hide();
Works perfectly in hiding everything after the first element with that
class but I need to hide after the third or forth element with that
class, any suggestions?
Thanks, Ant.

Reply via email to