Get content of the container including parent in Javascript
<p>I want to get the innerHTML of an element with the parent itself. Since i am using element.innerHTML, it is returning the values that present inside the element and not the parent. So is there any way to do this in JavaScript?</p>

<p><strong>Note:</strong> Please note that, i dont want to use any jQuery for this.</p>
