If statement, $(this) == $("#div")
<p>Hya,</p>

<p>I would like to run a bit of code only if the focused text-box has a certain ID.
Here is my code:</p>

<pre><code>$("input:text").focus(function() {
        if ($(this) == $("#divid")) {
                //action
        }
});
</code></pre>

<p>It does not work, I'm not to sure why.</p>
