I am trying to add the contents of a web page to a string. I can add the <title> and other tags using document.title etc., but how can I grab the whole page?
I have tried document.documentElement; which should give me the entire page as an object, but I have been unable to place it in a string.
Any ideas?
I could use XMLHTTP, but would rather use javascript.
Thanks,
Joe
I have tried document.documentElement; which should give me the entire page as an object, but I have been unable to place it in a string.
Any ideas?
I could use XMLHTTP, but would rather use javascript.
Thanks,
Joe