jQuery Select Outter HTML
var outer_element_html = $('jQuerySelector')[0].outerHTML ;
console.log(outer_element_html);
Matteoweb
var outer_element_html = $('jQuerySelector')[0].outerHTML ;
console.log(outer_element_html);