How would I go about condensing this? Is there a better way?
// Add wrapper tags
$(this).append('<div class="jC2_Outer">');
$(this).append('<div class="jC2_Toolbar">');
$(this).append('<a href="#">Copy</a>');
$(this).append('<a href="#">Plain Text</a>');
$(this).append('<a href="#">Link</a>');
$(this).append('<a href="#">Help</a>');
$(this).append('</div>');
$(this).append('<div class="jC2_Container">rg');
Also, the append function closes the divs, how should I be adding these onto the document so they don’t close? Doing this at the moment which isn’t working:
$('.inner').append('</div></div>');
You can join an Array.