Currently I'm doing something like this in markup
<input type="text" ONKEYPRESS="InputNumeric(event);" id="txtNumber" />
But I want to use the jQuery bind method instead for all the obvious reasons.
jQuery(function($)
{
$("#txtNumber").bind("keyup", InputNumeric(event));
});
But when I try the above I get the below error
"event is not defined"
What should this syntax look like?
EDIT
The actual solution I got working is shown below.
$("#txtPriority").keypress(function (e) { InputInteger(e); });