Is there a way to \'pre-build\' a snippet of HTML before adding it to the DOM?
For example:
$mysnippet.append(\"hello\"); $mysni
var sample = $('') .append( $('') .addClass('testing-attributes') .text('testing')) .html();
Which creates:
testing