Here is how I am utilizing the mouseleave jquery event
$(document).ready(function(){
$(document).mouseleave(function(event)
{
//perform a task
});
});
Is there any method to prevent this event from triggering when a user scrolls down the page?
I have observed that the event is also activated by child elements. Is there a way to exclude child elements from being associated with this event?
Your assistance is greatly appreciated