I used $(document).html(), but that threw an error... is there a way to get everything?
$(document).html()
$("html").html() would get everything but the outer most html tags.
$("html").html()