Is there anyway to capture all the events in a page dynamically through JavaScript / jQuery code.
For example, if I click on a button I should know that onclick
of a button happened through some code.
Please help me in capturing all the events dynamically. I know this can be done using monitorEvents
in Chrome and Firefox, but I want to capture the events through some code.