In the SVN build of jQuery you can do: $(this).parent().next().show();
jQuery SVN can be found here: http://jquery.com/src/jquery-svn.js --John > 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... _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
