How to tell if a mouse is hovering over an element

Posted by Pieter on Stack Overflow See other posts from Stack Overflow or by Pieter
Published on 2010-04-02T15:34:06Z Indexed on 2010/04/02 15:43 UTC
Read the original article Hit count: 207

Filed under:
|

Is there a function I can call to know if a certain element is currently being hovered over, like this?

/* Returns true or false */
hoveringOver("a#mylink");

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html