[jQuery] how to get back the DOM element as HTML source

[jQuery] how to get back the DOM element as HTML source


Hi,
How do I get back the DOM element as HTML source using jQuery? The html
() method only returns the innerHTML and it does not include the UI
element itself. But I am more interested in converting the UI element
itself to HTML.
Thanks in advance,
Jian