title: How to get child element by ID in JavaScript?
body: <p>I have following html:</p>
  
  <pre><code>&lt;div id="note"&gt;
  &lt;textarea id="textid" class="textclass"&gt;Text&lt;/textarea&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I get textarea element? I can't use <code>document.getElementById("textid")</code> for it</p>
  
  <p>I'm doing it like this now:</p>
  
  <pre><code>var note = document.getElementById("note");
  var notetext = note.querySelector('#textid');
  </code></pre>
  
  <p>but it doesn't work in IE(8)</p>
  
  <p>How else I can do it? jQuery is ok</p>
  
  <p>Thanks </p>