immediate children of a list
<p>Hey,
    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>
