|
afaik, there is nothing as simple as that, but you should be able to get the mouse position and determine from that, whether you’re in the <div>. another possibility were to trigger an event, so that you could get the targetElement (which has to be a descendent element for your <div>).
depending on your case it could even be enough to use CSS’ :hover pseudo-class
__________________
please post your code wrapped in [CODE] [/CODE] tags
|