Yes 1) Load your page, open Firebug and select the HTML panel 2) Find your <a> element in the panel 3) Right click on the element and pick "Break on Child Addition or Removal" 4) Operate the page to change the inner HTML 5) Firebug debugger breaks on the JS line, which is responsible for the change
Just tested and works for me. Honza On Sunday, February 26, 2012 10:40:40 PM UTC+1, mirmir wrote: > > I'm new to Firebug. Can I use Firebug to detect what code caused a > change inside <a> tags? > > After clicking an images I get links associated with the respective > image changed for unknown reasons. It changes from 1. to 2. as > follows: > > 1. <a href="someurl">Link</a> > 2. <a href="someurl">undefined</a> -- 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 https://groups.google.com/forum/#!forum/firebug
