How to hide div onclick in unordered List 
<p>In an onclick event, I would like to hide the "closed" <code>li</code> and show the "open" and vice versa.
can I do this in Javascript?</p>

<p>I have the following html:</p>

<pre><code>&lt;ul&gt;
&lt;li&gt; link&lt;/li&gt;
&lt;li&gt; Liink&lt;/li&gt;
&lt;/ul&gt;
</code></pre>
