0

Good afternoon in my timezone.

Anyone knows a tool that collect all the js files that are loaded with a web page. I know that firebug through the script tab gives me all the js files downloaded with the web page, but i have to copy the url from the tab and make the download one by one. Another question , if i have one element in the web page, for example

<a href="#" id="test1" ...> 

How can i know all the evenst associated with this element? Events that were add dynamically for example in the onsubmit event through javascript , for example

document.getElementById("test1").onclick = "function()...."

Thanks in advance

Best Regards

tt0686
  • 1,681
  • 5
  • 27
  • 52
  • For your second question have a look here: http://stackoverflow.com/questions/2623118/inspect-attached-event-handlers-for-any-dom-element – scaraveos Oct 03 '11 at 14:00

1 Answers1

0

First Question: Chrome's inspector tool

Second Question: refer to this post: Inspect attached event handlers for any DOM element

Community
  • 1
  • 1
Alex
  • 34,121
  • 5
  • 74
  • 88