 <p>I usually use a rel="" for some extra data i might need attached to the button or whatnot.</p> <p>for example</p> <pre><code>&lt;input class="btnDelete" rel="34" value="Delete" /&gt; </code></pre> <p>then in jquery</p> <pre><code>$('.btnDelete').click(function() { DeleteMethod($(this).attr("rel")); }); </code></pre>