title: jQuery .text() and .innerHTML not working in IE
body: <p>I'm trying to add some text to some spans within a div pretty simple but I cannot for the life of me get this to work in IE. It works in Chrome, Safari, and Firefox.</p>
  
  <p>heres the jQuery:</p>
  
  <pre><code>$("div#dateRanges #startDate").text(typeValues.dateRanges[1][0]);
  $("div#dateRanges #endDate").text(typeValues.dateRanges[1][1]);
  </code></pre>
  
  <p>and heres the bit of html I'm editing:</p>
  
  <pre><code>&lt;div id="dateRanges"&gt;
      &lt;span id="startDate"&gt;&lt;/span&gt;
      &lt;span id="endDate"&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>using jQuery to get the element and then trying to set the .innerHTMl also didn't work.</p>
  
  <pre><code>var startDate = $("div#dateRanges #startDate").first();
  startDate.innerHTML = typeValues.dateRanges[1][0]; //Sets the text date values
  var endDate = $("div#dateRanges #endDate").first();
  endDate.innerHTML = typeValues.dateRanges[1][1];enter code here
  </code></pre>
  
  <p>Just to clear up potential confusion it's the setting the text of the spans I'm having trouble with. Also it may be important to include the information that this data is being updated after the page loads, through AJAX.</p>