Hi! I have this:
$(document).ready(function()
{
var test_func=function(ev)
{
alert(ev.keyCode);
};
....
$(document).keydown(test_func(ev));
});
I wanna do the next, if I press somebutton on keyboard, I'll see alert with a code of key which I pressed. But I see only 'ev is not defined' in my firebug =|
What do you think about this?