hello,
say i have a definition list:
<dt>title </dt>
<dd> this content blabla</dd>
<dt>another title </dt>
<dd> another content blabla</dd>
i would like to have an event triggered on each dt that modifies its following
dd, and only that one.
i tried a few , but cannot get it to work correctly; it's either all of them or
an erratic move. the closest i got is:
jQuery(function($)
{
$("dt").click( function() {
$("~ dd",this).slideToggle();
});
});
can you tip me in the right direction?
Thanks
alex
--
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.441 / Base de données virus: 268.17.24/668 - Date: 4/02/2007 1:30
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/