[jQuery] Select Parents Next Child from Position (nextSibling).
<p class="MsoNormal">Hi folks, I am having a bit of trouble DOM Traversing with
Jquery.<br style="">
For example I have a Definition List:
<p class="MsoNormal"><dl>
<span style=""> </span><dt>Title 1
</dt>
<span style=""> </span><dd>Definition
1<dd>
<span style=""> </span><dt>Title
2
</dt>
<span style=""> </span><dd>Definition
2<dd>
<span style=""> </span><dt>Title
3
</dt>
<span style=""> </span><dd>Definition
3<dd>
<dl>
<p class="MsoNormal">What I want to do is go from <span style="font-weight: bold;">Title 2</span> to <span style="font-weight: bold;">Definition 2</span>.<p class="MsoNormal">Normally, this would simply be "this.parentNode.nextSibling"
(assuming you clean up the whitespace in Firefox and other affected browsers).
<p class="MsoNormal">I have tried a number of things to do with parent, parents, siblings, find, etc
but still can't find a solution using the latest Jquery > Built Fri May 12
13:01:23 2006<p class="MsoNormal">Any help would be appreciated. - James
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/