Is there a quick & easy way to do this in jQuery that I\'m missing?
I don\'t want to use the mouseover event because I\'m already using it for something else. I
WARNING: is(':hover') is deprecated in jquery 1.8+. See this post for a solution.
is(':hover')
You can also use this answer : https://stackoverflow.com/a/6035278/8843 to test if the mouse is hover an element :
$('#test').click(function() { if ($('#hello').is(':hover')) { alert('hello'); } });