Rik, tnx you gave me the right inputi'm solving it
Diego
2008/11/7 Rik Lomas <[EMAIL PROTECTED]>
>
> You need to do:
>
> $(this).parent().next().addClass('second');
>
> As the element the click is attached to is the , so you need to
> traverse up the DOM tree first
>
> Rik
>
>
> 2008/11/7 di
You need to do:
$(this).parent().next().addClass('second');
As the element the click is attached to is the , so you need to
traverse up the DOM tree first
Rik
2008/11/7 diego <[EMAIL PROTECTED]>:
>
> Hi all. how can i addClass from the clicked element to the
> next ?
> i've tried this
>
> $
2 matches
Mail list logo