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