[jQuery] Selecting next sibling

[jQuery] Selecting next sibling

Hi there,
is there an easy way in jQuery to simply select the next sibling? What I
want to do is to toggle the succeeding

if I click on a <h3>:
Thinking in jQuery, the following snippet is not the way to go I guess :-) :
$("#register-faq h3").click(function() {
var next = this.nextSibling;
while(next.nodeName.toLowerCase() != "p") {
next = next.nextSibling;
}
$(next).toggle();
});
I read about some more helper methods like .ancestor() and .siblings()
in the blog, but didn't find any documentation about how to use them...
Thank you for some help,
Klaus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/