I use "evenutil.js
" to add events to my page. I add an event mouseover on an object:
EventUtil.addEventHandler(oDiv, "mouseover", fnc);
This is my html page:
<div><p>word1 <em>em word2</em></p></div>
var oEvent = EventUtil.getEvent();
var oDiv = oEvent.target;
But when I mouseover on my div, fallowing that I'm over "div" tag or "p" tag or "em" tag, I recover these different objects.
Is it possible to pass oDiv object to my function knowing that I use the same function for several "div" objects?
Thanks in advance,