1

I came across this question: How to find out which JavaScript events fired?

But, that method of using Firebug will help me only if I log the events of a particular element right?

Here's my situation:

I want to analyze a webpage. It displays a list of headlines, and after you scroll down at the bottom of the page, something happens and then it fetches the next 20 headlines from the server and adds it back to the page. I would like to know exactly which event is fired and which function is called as this happens. How do I do that?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Programming Noob
  • 1,755
  • 5
  • 19
  • 28

2 Answers2

1

Use Chrome or Firefox Developer Tools and check under the networks tab. For Firebug check console or scripts. It shows you all the external files that have been used in your page.

Shane Hudson
  • 717
  • 1
  • 7
  • 19
-3

Don't forget about

console.log("event fired");
jackchuka
  • 72
  • 2
  • This purely logs a string... it is not triggered by any event firing and has absolutely nothing to do with the question. – Shane Hudson Jun 25 '13 at 02:18