Thanks Karl, I had searched through the jQuery site but as I was unsure what to search for I got stuck. That works perfectly, Ant.
On Jun 4, 1:04 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > 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 Swedbergwww.englishrules.comwww.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.