Brok3n Posted October 26, 2006 Share Posted October 26, 2006 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 More sharing options...
jesh Posted October 26, 2006 Share Posted October 26, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now