for example I have:
<a href="" id="#activador">asdasd</a>
...
//js code in other place or other file hard to find, I have this:
$('#activador').click(simplefunction);       or
$(document).on('click','#activador',simplefunction);     or
$('#activador').live('click',simplefunction);
function simplefunction(){
alert('hello');
}
...
How can I find if the html ('#activador') have a function attached, and how can I find what function the element ('#activador') will trigger?
I know using
var clickEvents = $('#activador').data("events").click;
but I cannot use something like this:
var clickEvents = $('#activador').data("events").on; or 
var clickEvents = $('#activador').data("events").live;
 
    