title: jquery variable as div ID or class
body: <pre><code>var $name = ('div#amuchlongername');
  
      $('#wrapper').prepend('&lt;div id="$name"&gt;&lt;/div&gt;');
  </code></pre>
  
  <p>Obviously I know this code is wrong lol, but I'm fairly knew to jQuery and I can't seem to find anything about this.</p>
  
  <p>How would one go about achieving a variable name inside a div id?</p>