Root Path of File for Inspect Element

2,099 views
Skip to first unread message

victory1

unread,
Nov 29, 2010, 8:03:32 AM11/29/10
to Firebug
I'm new to all this and I have this install as an addon to Firefox.
My question is when I right click on inspect element and Firebug gives
me the line, how do I figure out the file so I can make the change if
it's wrong?

John J Barton

unread,
Nov 29, 2010, 11:15:32 AM11/29/10
to Firebug
The HTML in a web page can come from
1) the initial web page content, eg the file foo.html if the web
URL is ..../foo.html
--> Firefox > View > PageSource
2) server side code or inclusions, eg JSP and friends,
If the page foo.html shown by #1 is not on the server, read the
server code,
4) Ajax downloads that are added by Javascript
If the element is not in the Page Source, look in Firebug > Net
panel, is the source in any Ajax events?
3) JavaScript additions,
If the page foo.html shown in #1 does not contain your element
and it is not in Ajax,, set a breakpoint on the first JS statement,
right click on the Firebug HTML Panel representation and select Break
On Element Child Addition.

The above procedure will give a you a server URL, based on that you
will have to work out which file on the server was involved.

jjb
Reply all
Reply to author
Forward
0 new messages