On Mar 31, 8:10 am, unoto kinimi <[email protected]> wrote:
> thanks mate
>
> so can i edit the div generated by javascript..
>
> A help in this matter would be grateful

Since you haven't given us *any* specific information about your
problem, it is hard to advise you (which is why John got frustrated
and gave you that unhelpful answer), but:

I'm guessing that you are saying that there is a div in your DOM and
you want to know where it comes from.

John's suggestion that it is created by Javascript is possible, but do
you have reason to think that is the case?

I'm guessing that the div is there in the HTML sent from your server,
and you are expecting Firebug to help you find out what file on the
server it comes from. I may be wrong, but when you don't provide us
*any* useful information, all we can do is guess.

If that is the case, you need to understand that Firebug, and Firefox,
and the entire system you are running on your client *cannot* know
anything at all about the files on your server. All that they know is
what the server sent back in the HTTP response when they sent an HTTP
request (the URL)

Often URL's have what look like filenames in them, and often when a
server receives a request with a filename in it, it will in fact serve
a file with that name: but servers are entitled to do anything else
they like in order to fulfil the request.

If you are seeing the div in the HTML panel of FB, it is there in your
DOM. Normally, it will have been provided as part of a GET or POST,
and Firebug will tell you at the top of the panel which URL this came
as the response to. (If you think it might not have been there when
the page loaded - John's suggestion - then it might be an idea to look
at the original source of the page, either by putting a breakpoint
somewhere in your Javascript before it does anything, or perhaps by
installing the WebDeveloper extension and picking ViewSource. (There
may be a way to get the original source in FB, I don't know).

If you find that your div is there in the original source, then you
don't need to worry about Javascript, and you need to find out where
your server gets the data in its request.

If it is not in the original source, then it is generated dynamically
in your page, probably by Javascript, and you will need to examine
your Javscript, and perhaps start debugging it with messages or
breakpoints.


-- 
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.

Reply via email to