jquery event dont works
<pre><code>&lt;form id='new_key' action='/foo/bar' method='post'&gt;
 &lt;input type="text" id="u"&gt;
 &lt;input type="submit" value="submit"&gt;
&lt;/form&gt;
</code></pre>

<p>I can bind a jquery event to this element like:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$('#new_key').ready(function() {
 alert('Handler for .submit() called.');
 return false;
});
</code></pre>

<p>It works as expected</p>

<p>but if i do:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$('#new_key').submit(function() {
  alert('Handler for .submit() called.');
  return false;
});
</code></pre>

<p>it dont work. does anybody knows why? what am i missing?</p>
