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’
The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
André Behrens, NY Times Software Developer