If I have:
<dt>Title</dt>
<dd>Description</dd>
<dt>Title</dt>
<dd>Description</dd>
<dt>Title</dt>
<dd>Description</dd>
<dt>Title</dt>
<dd>Description</dd>
How can I make a selector, so that when I click a dt, the dd immediately after (and only that DD) it is given a class name? I have tried nextUntil() and next() with no success
This is to make something I am working on more efficient
Thanks for any help
Without knowing how your js-code looks like, something like this might work for you?
http://jsfiddle.net/GwpNp/