All posts tagged outerHTML

jQuery : Getting a selected element’s 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 →