Search code examples
javascriptfunctionfirebug

how to check what JavaScript functions have been called in firebug


I am editing a complex website.

Some jQuery functions are called in response to clicking on different elements (links, div, anchor, etc.).

How can I see what JavaScript function is called when I press on an element?


Solution

  • In each of the functions, add a console.log(functionname). so whenever the function is called, you will see a line in console telling you the function's name.