By: Maxime Gibeau https://github.com/mgibeau/
Version: 0.1.1
Requires: jQuery 1.4.4+
License: MIT
Plugin to convert a jQuery object into an HTML string.
$( {selector} ).toHTML( [options] );
N.B. If the selector matches multiple elements, the result will be a list of strings. See flat.
HTML
<div>
<p>Some sample text</p>
</div>JavaScript
$('div').toHTML();Output
"<div>
<p>Some sample text</p>
</div>"Merge multiple objects into a string
type: Boolean
default: false
$('div').toHTML(true);
Copyright (c) 2013, Maxime Gibeau https://github.com/mgibeau/