Hello

I have the following structure:

   <dl>
        <dt><a href="url">x</a></dt>
        <dd>text</dd>
   </dl>


I select the <a> element in this, and I want to show() the corresponding dd.


This works but is not very precise:
        $("../../dt/../dd", this).show();

I'm trying to write it more precisely with something like:
        $("parent::dt/parent::dl/dd", this).show();

but I'm not finding the correct expression...

-- Fil


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to