How handle an element of elements having same class name using jquery
<pre><code>&lt;div id="user" class="user"&gt;akhilreddy&lt;/div&gt;
&lt;div id="user" class="user"&gt;subodh&lt;/div&gt;
</code></pre>

<p>I many of elements but am showing only two, when ever I click on div I want text inside that div to be diplayed in alert box.</p>

<p>Thank you </p>
