I doubt that will work, since all of the <dd> elements are siblings of
the clicked <dt>.
Mauricio, Take a look at the nextUntil plugin. That should do what
you're looking for:
http://docs.jquery.com/JQuery_1.2_Roadmap#.nextUntil.28.29_.2F_.prevUntil.28.29
After including the plugin, you can do this:
$('dt').click(function() {
$(this).nextUntil('dt').doSomething();
});
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 10, 2008, at 2:56 PM, [EMAIL PROTECTED] wrote:
This should work for you:
$('dt').click(function() {
$(this).nextAll('dd').doSomething()
});