Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
In that case, rather than applying the killEnter function on the "document" element, assign it to the form input or the form itself (you need to test it).
It will have the effect of making that killEnter function called only when the focus is on specific elements, not anywhere on the page.
__________________
Only a biker knows why a dog sticks his head out the window.
|