I've taken over a project which involves a lot of javascript (AJAX and whatnot). In tracking down functions, is there a way to find out which included .js
file contains a specific function?
I'm hunting through Firebug but can't find where it isolates the specific file which contains the javascript function. What am I missing?
The Web Developer plugin (for FF and Chrome http://chrispederick.com/work/web-developer/) has a "View JavaScript" feature that shows all of the JS that a page is referencing on a single page. CTRL-F from there to find the function.
Fiddler will let you search through all requests, so you could load the page in Fiddler, then search for your function.
http://www.fiddler2.com/fiddler2/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With