When to use $ and when not to
<p>I have selected a control using the following variable</p>

<pre><code>var txt = $("#text1");
</code></pre>

<p>Now when I have to handle events on the textbox, do I have to reference it as $(txt) or txt will do</p>

<pre><code>$(txt).keydown(function() {})
</code></pre>

<p>or</p>

<pre><code>txt.keydown(function(){})
</code></pre>

<p>What is the advantage. Please explain it taking the variable txt as the context.</p>
