title: JQuery capture keydown on check
body: <p>Is there any way to capture the <kbd>ENTER</kbd> key on an <code>&lt;input&gt;</code> element of type <code>checkbox</code>?</p>
  <pre><code>&lt;input type=&quot;checkbox&quot; value=&quot;1&quot; name=&quot;remember&quot; /&gt;
  </code></pre>
  <p>I have tried this in JavaScript:</p>
  <pre><code>$('input').on('keydown',function(e){ console.log(e.which)});
  </code></pre>
  <p>and it is not working.</p>