I have a simple input element :
<input class="a" /> // <---notice - no inline onclick function
someone is doing
$(".a").on('click',function () {alert('1')});
// ...and later
$(".a").on('click',function () {alert('2')});
Now , I want to find : "which functions are executed when clicking the element" ?
How can I do it in Jquery/Javascript?
p.s. please ignore the anonymous functions here , I could also attach a regular named function .
(im using ( as jsbin shows , with 1.8.3 - the latest))