How to get html source code from external url
<p>How can I get html source code from an external web page? </p>

<p>Something like: <code>getHtml('http://google.com');</code>.</p>

<p>I've tried to get content of iframe using: <code>$("#frame").contents().find("html");</code>, but if in my case the webpage doesn't have html tags, just 1 line of text. I can't do it with php <code>file_get_contents()</code> because it doesn't keep session data.</p>
