I see some anchor elements on an html page like so
<a href="javascript:void(0);" class="clickable">Click me</a>;
The page assigns JavaScript event handlers to the anchor element on page load. After the page loads, I can click on the anchor element to fire a JavaScript operation.
I want to programmatically fire the anchor's event handler function, but I am unable to determine the event handler's function name because the relevant external JavaScript file is compressed, so it's difficult to trace the code. The compression obfuscated all the variable/function names and put everything on one line.
Can anyone suggest a way for me to programmatically fire the anchor's onclick event handler?
Thanks