[jQuery] siblings after a specified node

[jQuery] siblings after a specified node

You misunderstood me, I just want to do something with x3 and x4, not all divs. (In a click() I want to hide all divs coming after the clicked div).
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Fazal
Sent: Monday, December 04, 2006 1:30 PM
To: discuss@jquery.com
Subject: Re: [jQuery] siblings after a specified node
Hi Nandi,
you can use:
$("#parent-element").find("div").each(function(i){
//do your stuff here
}
Fazal
Kolman Nándor-2