Reputation: 5585
I want to be able to detect if the mouse is over a certain div. So I do this
if ($('#mydv').is(':hover')) {
//doSometing
});
how do I detect if the mouse in not over the div? Also I read that this might not work if the element is an iframe. Is there a way to make this work in an iframe as well?
Upvotes: 0
Views: 430