jQuery event binding with accessibility in mind - click and keypress
<p>Just a quick question, I seem to do this a lot:</p>

<pre><code>$saveBtn.bind("click keypress", function(e)
{
    if (e.type != "keypress" || e.keyCode == 13)
    {
        // Do something...

        return false;
    }
});
</code></pre>

<p>Is there a quicker way to bind an 'action' listener to a button? I want to always ensure my buttons with event listeners fire on both clicks and the enter key...this seems like it'd be a fairly common thing to want to do but found nothing on google. Any thoughts?</p>

<p>Thanks.</p>
