title: Print out jQuery object as HTML
body: <p>Is there a good way of printing out a jQuery object as pure HTML?</p>
  
  <p>ex:</p>
  
  <pre><code>&lt;img src="example.jpg"&gt;
  
  &lt;script&gt;
  var img = $('img').eq(0);
  console.log(img.toString());
  &lt;/script&gt;
  </code></pre>
  
  <p><code>toString()</code> doesn't work this way. I need the HTML equivalent string , i.e: </p>
  
  <p><code>&lt;img src="example.jpg"&gt;</code></p>