Hi Nandi,
you can use:
$("#parent-element").find("div").each(function(i){
//do your stuff here
}
Fazal
Kolman Nándor-2 wrote:
>
> Hi.
>
>
>
> Is there a simple way to get all the siblings after a specified node?
>
> Eg. :
>
> <div id="x1"></div>
>
> <div id="x2"></div>
>
> <div id="x3"></div>
>
> <div id="x4"></div>
>
>
>
> $('#x2').xxx() would give #x3, #x4 nodes. (Ids are not that simple, so I
> cannot use them in an id match :-).)
>
>
>
> Thx.
>
> Nandi
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
--
View this message in context:
http://www.nabble.com/siblings-after-a-specified-node-tf2751362.html#a7675619
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/