title: How can I insert html code inside a javascript variable?
body: <p>So I am pulling information from google calendar and I need to divide the variables I am receiving so I can display them in different divs.  So what i need to do is something like this</p>
  
  <pre><code>var divMonth = '&lt;div id ="rawr"&gt;';
  var divMonthClose = '&lt;/div&gt;';
  
  dateString =  divMonth + monthName + divMonthClose + ' | ' + parseInt(dateMonth, 10);
  </code></pre>
  
  <p>However, as you imagine the result displayed is... </p>
  
  <pre><code>"&lt;div id ="rawr"&gt;December&lt;/div&gt; | 8"
  </code></pre>
  
  <p>It does not actually interpret the html and make the div layer. So my question is.. How can i insert html code within the variable so it actually works as html?  Is there a function I am missing or is it even possible?</p>
  
  <p>Thanks in advance for any help or ideas you might have! </p>