How to get the actual code (not inside content) of an iframe element?
<p>Have a look at this code:</p>

<p><a href="http://jsfiddle.net/NTYcA/1/" rel="nofollow">http://jsfiddle.net/NTYcA/1/</a></p>

<pre><code>var foo = '&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/A175-KHvfy4" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;';

foo = $(foo); // turned into jquery object

alert( foo.html() ); // alerts nothing
alert( foo[0] );     // alerts [Object HTMLIFRAMELEMENT] but how can I get the actual iframe code as a string?
</code></pre>

<p>So how can I get the iframe code from the jquery object?</p>

<p>I literally want this:</p>

<pre><code>&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/A175-KHvfy4" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
</code></pre>

<p>without accessing the original var.</p>
