title: Adding text after variable in JavaScript code
body: <pre><code>var example = "Test" ;
  
  $('button').click(function() {
   $('div').append(example);
  });
  
  &lt;button&gt;Whatever&lt;/button&gt;
  &lt;div&gt;&lt;/div&gt;
  </code></pre>
  
  <p>How can I add text after the variable <code>example</code> in the jQuery code?</p>
  
  <p>In other words, in the jQuery code how can I add text (in this example: "blah") after the variable so the HTML code will appear like this</p>
  
  <pre><code>&lt;div&gt;Testblah&lt;/div&gt;
  </code></pre>