I was wondering if the following can be done:
On my site, I use a lot of jQuery plugins that fire various events that I don't know about.
Is there a way - a program, an add-on for the browser, or something else - so that I can browse the site and get a list of exact javascript events that were fired with every click?
For example, I have a jQuery plugin which, when I right-click on any item, the custom Menu context is displayed, and then when I click on one of the options, other things appear. I need to know exactly what major Javascript events were fired:
$('input:submit, button:submit').rightClick(function (e) {
$(this).contextMenu('contextMenuInput', {
'Capture This': {
click: function (element) {
doSomething();
},
klass: "kgo"
},
'Create List': {
click: function (element) {
},
klass: "kfilter kdisabled"
},
'Collect Data': {
click: function (element) {
},
klass: "kcapture kdisabled"
}
},
{ disable_native_context_menu: true }
);
});
Does anyone have any ideas?