title: jquery/js error - DOM Error: DOM Exception 8 - When I .html any variable
body: <p>I'm receiving a DOM Error: DOM Exception 8 when I try to execute a very simple piece of code. Ive done similar executions a million times and I'm very confused what the problem is.</p>
  
  <p>My Code:</p>
  
  <pre><code>$.post('/dataHandlers/return_stats.php', function(data) {
         $('#u').html(data['username']);
         var health = data['health'];
         $('#health_display').html(health);
         $('#energy_display').html(data['energy']);
         $('#money_display').html(data['money']);
         $('#intelligence_display').html(data['intelligence']);
         $('#strength_display').html(data['strength']);
         $('#sidebar').find('#level_display').html(data['level']);
     }, 'json');
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id='sidebar'&gt;
     &lt;div id ="health_display" class="stats_right"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>If I try and .html something that isn't a variable, it works. Whenever I .html any variable whatsoever, I get that error.</p>
  
  <p>Anyone know what this is about? Thanks in advance.</p>