[jQuery] unbind keypress for input boxes
Hi,
I have a few keys bound to a function, but I want it to be temporary
disabled when
a user is filling in a form.
I thought this would do it:
$('input').hover( function() {
$('input').unbind("keypress");
}, function() {
// Rebind stuff
});
But it's not working. What am I doing wrong here?
Happy holidays!
--
Jeroen