Getting ID of button element with name or class
<p>Can i do that ? </p>

<pre><code>     var gender = $('.ImdbAddArtist').click(function() {
  alert(this.id);
});
</code></pre>

<p>I use below code, but it s a little bit strange. </p>

<p>Can i have button's ids from their name?</p>
