I need to check if some events are already bound on an element.
For example
$(".animate").click(function(){
alert('Here comes action');
});
and
$(".someOtherSelector").click(function(){
alert('some other action');
});
HTML
<a class="animate"></a>
<a class="someOtherSelector animate"></a>
In second function I need to check if there is an event already bound on this element. If so it should not execute alert('some other action');
.
I'm using jQuery version 1.10.1.