Getting the value of a button's data attribute when all buttons have the same id
<p>I have a table of buttons that are printed using PHP.  Each button has a different value in its data attribute but does the same thing.  I want the value of the data attribute of a particular button's data attribute.  This does not work:</p>

<pre><code>$(this).find('button').data('myatt')
</code></pre>

<p>The above returns the first button's data attribute value rather than the one the user clicked.</p>

<p><strong>EDIT:</strong> jsfiddle to illustrate: <a href="http://jsfiddle.net/7fkfu/17/" rel="nofollow">http://jsfiddle.net/7fkfu/17/</a></p>

<p>Any ideas?  Thank you :).</p>
