title: Jquery: Append HTML to a variable containing HTML
body: <p>I have a var containing a bunch of HTML. I want to append a link to it before appending the var to a wrapper div,eg:</p>
  
  <pre><code>var content = '~html generated from JSON~'
  $content.append.("&lt;a href='link'&gt;Link&lt;/a&gt;");
  </code></pre>
  
  <p>I've tried a few ways of doing this but I cant get it right or find any info on SO.</p>
  
  <p>Do I need to 'explode' the variable before hand?</p>
  
  <p>Does anyone know how to achieve this?</p>