How can I pass "this" into setTimeout callback?
<p><a href="http://jsfiddle.net/mnbayazit/M2W6Z/" rel="nofollow">fiddle</a></p>

<p><strong>code:</strong></p>

<pre><code>&lt;button onclick="this.disabled=true; setTimeout(function(){this.disabled=false;},500);"&gt;click&lt;/button&gt;
</code></pre>

<p><code>this</code> seems to refer to the window rather than the button. How can I pass the button object in so that I can re-enable it?</p>

<p>I'm aware of workarounds... I could give the button an ID and then grab it again, but I'm interested to know if I can somehow pass <code>this</code> in.</p>
