Hi all,
i have troubles with subsequent siblings selection.
Provided the following code:
########################
..................
<span>foo</span>
<span>foo</span>
<div>first</div>
<span></span>
<span></span>
<span>first</span>
<span></span>
<span></span>
<div>second</div>
<span></span>
<span></span>
<span></span>
<span>second</span>
<span>foo</span>
<span>foo</span>
<span>foo</span>
<span>foo</span>
...................................
#######################

my goal is, for each "div", selecting the corresponding subsequent "span" so
that
first/first and second/second
So far i've come with this (not so much)

######################

$("div").each(function(i){
  this......?????
});

#####################

thanks in advance,ronnie
-- 
View this message in context: 
http://www.nabble.com/Selecting-subsequent-siblings-tf4367784s15494.html#a12449291
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to