For example if I have HTML ul
list like
<ul id="ulIdentificator">
<li id="li0"></li>
<li id="li1"></li>
<li id="li2"><label id="label1"></label></li>
</ul>
If I use jQuery like this
var htmlStr = $("#li2").html();
The result will be only string that contains label tag <LABEL id="label1"></LABEL></li>
I need to get Html string that contains this <LI id="li2"><LABEL id="label1"></LABEL></LI>