I have a jsfiddle here - http://jsfiddle.net/stevea/QpNbu/3/ - that collects the outerHTML
for all elements that have class='active'
. What amazes me is that even if I comment out some of the HTML, as in:
<!-- <div>'Some inner text'</div> -->
outerHTML
still brings it back! This can't still be in the DOM so I'm wondering where outerHTML
is looking.
Thanks for any insight.