I know how to grab html inside the body tag and I can do that by
$("body").html();
The above line return me the html which is inside the body tag. But I want the html inclidung the body tag. For example
<body attr1="abc" attr2="def" attr3="xyz">
<div class="container">
I am in trouble.Please HELP me!!
</div>
</body>
I want something which returns me the html along with the body tag and all its attributes. How can I achieve that ??