I'm using a jQuery plugin in my application and now I need to develop this plugin for my need. At this time, I want to know For example which function call on clicking some buttons. For example, suppose the plugin had produced a <button id="test">Test</button>
. I want to catch function that call on click on this button. Is there any way or tools for doing that?
Update:
Based on nanndoj suggested link, probably jQuery._data( elem, "events" );
can solve my problem. But how can I use that method?