jQuery/javascript - Highlight for a menu when user click on it
<p>Hi<br />
Suppose I have a menu like:</p>

<pre><code>&lt;ul&gt;
&lt;li&gt;&lt;a href="xxx"&gt;notebook&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="xxx"&gt;camera&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="xxx"&gt;phone&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>When I click on a menu, the menu will be highlighted, if click on another menu, this menu will be highlighted and other menu will return to original(no highlighted). Can someone give me some idea how to do it(create a listener for <code>&lt;li&gt;</code> or anything else)?<br />
Thanks you</p>
