title: jQuery: Get HTML including the selector?
body: <p>Say I have this HTML:</p>
  
  <pre><code>&lt;ul&gt;
    &lt;li id="example"&gt;&lt;strong&gt;Awesome&lt;/strong&gt; example text&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I want to be able to do something like <code>$('#example').html()</code> but right now doing that obviously only gets <code>&lt;strong&gt;Awesome&lt;/strong&gt; example text</code>.</p>
  
  <p>So how can I get the HTML <em>including</em> the selected element?</p>
  
  <p>ie. <code>&lt;li id="example"&gt;&lt;strong&gt;Awesome&lt;/strong&gt; example text&lt;/li&gt;</code></p>
  
  <p>I'm using jQuery 1.4.4.</p>