How to see source code as rendered (not the script)

V

V S Rawat

When I run a javascript in ff 2.0.0.4, the "view source" shows the
javascript that I had put in the html file that is being rendered.

I want to see the html converted code that is rendered.

I mean if my script has
var myStrMain = "what is happening here?";
document.write("italics: " + myStrMain.italics() + "<p>");

I want to see not the above lines but the html source as displayed:
<i>what is happening here?</i><p>

Which utility to install to enable me view that?

tia.
 
R

RobG

When I run a javascript in ff 2.0.0.4, the "view source" shows the
javascript that I had put in the html file that is being rendered.

Which is exactly what it should show. :)
I want to see the html converted code that is rendered. [...]

Which utility to install to enable me view that?

There are a number of such utilities (including using a bookmarklet
and the document's innerHTML), however the best is Firebug. It does
what you want, plus a bunch of other cool things.

<URL: http://www.getfirebug.com/ >
 
V

V S Rawat

RobG said:
When I run a javascript in ff 2.0.0.4, the "view source" shows the
javascript that I had put in the html file that is being rendered.

Which is exactly what it should show. :)
I want to see the html converted code that is rendered. [...]

Which utility to install to enable me view that?

There are a number of such utilities (including using a bookmarklet
and the document's innerHTML), however the best is Firebug. It does
what you want, plus a bunch of other cool things.

<url: http://www.getfirebug.com/ >

Thanks.

Installed that. :)
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top