Suppose I have the following HTML element:
<span id='kuku' class='lala bubu' value='xyz'>some text</span>
I know that .html()
returns the inner part of the element, i.e. some text
.
How could I get the whole element as string, containing <span>...</span>
?