SyntaxFix
Write A Post
Hire A Developer
Questions
I always use
document.getElementsByTagName('html')[0].innerHTML
Probably not the right way but I can understand it when I see it.