If I have
function OnMouseIn (elem) {
elem.style.display= "block";
}
<div onmouseover="OnMouseIn (this.XXXXXXX)">
<div class="classname" style="display:none"></div>
</div>
What do I have to write in place of XXXXXXX to select the div’s child “classname”?
(note: there are a lot of the first div, and i have to select only the one where the mouse just got over.
You don’t need javascript to do this, just use CSS:
but in javascript it would be: