Getting wrapper html using the outerHTML method
var outer_html = $('selector')[0].outerHTML ;
console.log(outer_html);
Getting wrapper html using the outerHTML method
var outer_html = $('selector')[0].outerHTML ;
console.log(outer_html);