Jump to content

Rendered Page Source


Brok3n

Recommended Posts

Hi All,Wondering if possible, and if so, how, one would go about getting the 'finished' source of a page with Javascript/ajax? Ie. if my javascript does a load of document.writes and a few ajax calls, is it possible to get the xHTML of the page after this script has executed?Thanks in advance!

Link to comment
Share on other sites

I don't know about being able to view the rendered code, but if you use Firefox, you can use its DOM Inspector (Tools -> DOM Inspector) to view the DOM for the rendered page. If your javascript added elements to the page, you wouldn't see those elements in the source, but you would be able to see them with the DOM inspector.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...