Get <LI> parent of <A>
Get <LI> parent of <A>
I want to change the background color of a <LI> that contains an <A>.
I tried using
$('a').parent().css('background-color','red');
But it did not work.
Suggestions?
Topic Participants
jabailo
koen
enchance