$ undefined error
<p>I'm developing a Chrome extension and I've got the following...</p>

<pre><code> $(document).keypress(function(event){ resizeDialogIFrame(overlaydiv, iFrame.contentWindow); });
</code></pre>

<p>But when executed I'm getting the following error...</p>

<p><code>Uncaught ReferenceError: $ is not defined</code></p>

<p>However, <code>$('form[name="gs"]').attr('action');</code> is working fine elsewhere in the page.. What's going wrong?</p>
