jQuery bind error "event is not defined"
<p>Currently I'm doing something like this in markup </p>

<pre><code>&lt;input type="text" ONKEYPRESS="InputNumeric(event);" id="txtNumber" /&gt;
</code></pre>

<p>But I want to use the jQuery bind method instead for all the obvious reasons.</p>

<pre><code>jQuery(function($)
{
    $("#txtNumber").bind("keyup", InputNumeric(event));
});
</code></pre>

<p>But when I try the above I get the below error </p>

<p>"event is not defined"</p>

<p>What should this syntax look like?</p>

<p><strong>EDIT</strong></p>

<p>The actual solution I got working is shown below.</p>

<pre><code>$("#txtPriority").keypress(function (e) { InputInteger(e); });
</code></pre>
