title: jQuery handling element with the same ID
body: <p>I have element (image button) with same ID... for example:</p>
  <pre><code>&lt;input type=&quot;image&quot; id=&quot;butt&quot; src=&quot;zzz.jp&quot; /&gt;
  &lt;input type=&quot;image&quot; id=&quot;butt&quot; src=&quot;zzz.jp&quot; /&gt;
  &lt;input type=&quot;image&quot; id=&quot;butt&quot; src=&quot;zzz.jp&quot; /&gt;
  </code></pre>
  <p>and want to understand of which button are clicked by jQuery like:</p>
  <pre><code>$(&quot;#butt&quot;).live('click', function(){
      var i ='';
      alert('button '+i+' clicked');
  });
  </code></pre>
  <p>where variable 'i' needs to be index or number of button which was clicked.</p>
  <p>How can I get which button was clicked?</p>