title: immediate children of a list
body: <p>A quick question.. what's the JAVASCRIPT statement to get the immediate children of a LIST? I tried:</p>
  
  <pre><code>document.getElementById(id).getElementsByTagName('li');
  </code></pre>
  
  <p>which gives me all of the child nodes.</p>