Javascript: pass "this" as "dom" object, not "this" as "this" function
<p>This is may hard can explain this. Lets see this:</p>

<pre><code>&lt;a onclick="jsFunction (1, 'a', function() { callback(this); }"&gt;&lt;/a&gt;
</code></pre>

<p>the callback needs to know the <code>&lt;a&gt;</code> where this call come from. But this "this" is not that "this" what I want.
There is a little workaround, I know:</p>

<pre><code>&lt;a onclick="var _this = this; jsFunction (1, 'a', function() { callback(_this); }"&gt;&lt;/a&gt;
</code></pre>

<p>but I feel it unlucky. Is there a better solution?</p>
