Beginner: Selecting using "next()"
This coincides a little with the post I made earlier, but I sort of figured that one out, so here it is:
I'm using $(this).next().toggle(400); to make the div following the clickable link toggle.
However, I'm now needing to insert an element between the clickable link, and the div that is being toggled... so essentially I need the 'next()' to skip an element... as if to say "ok skip an element then select that next one, not the element immediately following this one"... or $(this).next().next() to my elementary brain.... which doesn't work of course.
How is this best attained? Here's the HTML:
<h3>clickable link</h3>
<div id="one">in between element</div>
<div id="two">div I want to toggle using next() </div>
And I want to select div "two" instead of div "one". How do I do that?? Thanks!
Nick