kad1r
12/26/2017 - 12:50 PM

Get all comment tag from html with jQuery

Get all comment tag from html with jQuery

$('body').find('*').contents().filter(function(){ return this.nodeType===8; });