$("#target1").parent().css(“background-color”,“red”);
CSS ---- CASCADING style sheet
Keyword: Cascading… down the line…
Just apply a separate background-color to the child element.
$("#target1").parent().css(“background-color”,“red”);
CSS ---- CASCADING style sheet
Keyword: Cascading… down the line…
Just apply a separate background-color to the child element.