Take a look at the code snippet below.
HTML:
<div>
<p>sdfsdfsfsf</p>
<!--<p>testing</p>-->
</div>
JQUERY
$(document).ready(function(){
alert($("div").html());
});
OUTPUT
<p>sdfsdfsfsf</p>
<!--<p>testing</p>-->
I understand that the output will include the commented lines as well. My inquiry is if there is a method to obtain the output without the commented lines?