<div id="item">
<div class="action">
Oh! Look, a squashed pea!
</div>
<img class="picture" src="example">
</div>
Using jQuery, when hovering over the image I need to the the DIV with the class name 'action'. The hovering part I have down-pat and works fine, but I'm struggling with the selector part.
I've tried selecting the parent, then sibling with 'action' class with no luck...
EDIT: more info I should have added but clumsily didn't trying to make it easier to read - my bad.
<div id="item">
<div class="action">
<span>Oh! Look, a squashed pea!</span>
<button id="add">Hello</button>
</div>
<img class="picture" src="example">
</div>
I'm still after a reference to the DIV with the .action class applied WITHOUT referencing any ID's.