1. Type it into the command line: > SubmitNewsletter
2. SubmitNewsletter() will appear in the console as a green text. 3. Click on it. 4. The script Tab will open with the SubmitNewsletter function in view. On Thu, Sep 18, 2008 at 11:38 AM, Bill K <[EMAIL PROTECTED]> wrote: > > > Re-sending - apparently I wasn't subscribed properly. Sorry... > > > Bill K wrote: >> >> I have a page with dozens (or hundreds?) of Javascript functions across a >> dozen Javascript files. How do I find a particular function to add a >> breakpoint to it? >> >> My button looks like this: >> >> <input id="NewsletterSignup" type="submit" onclick="return >> SubmitNewsletter();" /> >> >> but I can't find SubmitNewsletter. I tried adding a breakpoint to this >> line itself so I could step in to SubmitNewsletter but that did nothing. >> Surely there must be an easier way to find a function than opening and >> searching each .js file one at a time. >> >> Thanks! >> > > -- > View this message in context: > http://www.nabble.com/Locating-a-Javascript-function-in-Firebug-tp19558666p19558667.html > Sent from the FireBug mailing list archive at Nabble.com. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
