 <p>You can do next create new div with class wich will hold just part of menu which you want to select . For example </p> <pre><code> &lt;div class="menu"&gt; &lt;div class="select"&gt; &lt;ul&gt; &lt;li&gt;Home&lt;/li&gt; &lt;li&gt;Home1&lt;/li&gt; &lt;li&gt;Home2&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div id="user-data"&gt; ..... &lt;/div&gt; &lt;/div&gt; </code></pre> <p>Then your jquery will look like </p> <pre><code>$('.select ul li').click(function(){ .... // body )}; </code></pre>