I have two elements side by side:
<div class="parent">
<div class="child1"></div>
<div class="child2"></div>
</div>
Want to use a hover from one child to make the other sibling highlight. My code currently looks like:
$(this).siblings(".child1").attr("src","images/icon_on.png");
Am I doing something wrong? I've even tried parent().children(".child1") but nothing works.