Getting wrapper html using the outerHTML method
var outer_html = $('selector')[0].outerHTML ; console.log(outer_html);
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment *
Δ
This site uses Akismet to reduce spam. Learn how your comment data is processed.