All posts tagged outerHTML

jQuery : Getting a selected element’s outer HTML

jquery-outer-html

The .html() function of jQuery only lets you get the inner html of a selector, but sometimes you want the selected object as well, here is a quick jQuery snippet to get the complete html of a selector.
Continue Reading →