I found the way to check if event exists on element. But it's not work on the events which is not delegated by jQuery...
When I try,
$("a").data("events");
for this.
<a href="#" onClick="alert('Hello, World!')" />
It returned undefined.
Is there any way to check if onClick exists on elements with jQuery?
Thanks.