0

I have been trying to find out a java script function source file name.

We need to figure out what java script is being executed when click a button. There is no embedded javascript in the jsp file.

I inspected that button element using firebug, we are calling a doSomething() function when we click this button.

Can anyone help me on how to find out the source file name of that doSomething() function?.

Prathap
  • 93
  • 2
  • 2
  • 9

1 Answers1

1

The closest thing I could find was this thread on SO, User 'pasx' was able to do get FileName and LineNumber on IE but not on Chrome/FF. Maybe this would help: How to get JavaScript caller function line number? How to get JavaScript caller source URL?

Community
  • 1
  • 1
Manav Kataria
  • 5,060
  • 4
  • 24
  • 26