How to return complete html of a page using jQuery?
<p>How do I return complete html of a page using jQuery?</p>

<p>I cannot do </p>

<pre><code>return $('html').html()
</code></pre>

<p>or</p>

<pre><code>return "&lt;html&gt;" + $("html").html() + "&lt;/html&gt;";
</code></pre>

<p>because the page might not have html tag in it at all. I cannot use a class or id tag because this is not something that I control and can change. So the use case is if I pass a url I need to return complete html of the page and the page may or may not have html tagin it.</p>
