105
rated 0 times
[
106]
[
1]
/ answers: 1 / hits: 48417
/ 14 Years ago, tue, october 19, 2010, 12:00:00
Code:
$('#Inputfield').keyup(function(e)
{
if(e.which == 13)
{
functionXyz();
}
else
{
functionZyx();
}
});
$(document).keyup(function(exit) {
if (exit.keyCode == 27) { functionZzy(); }
});
Question: How to remove the keyup event handler of keyCode == 27 and keep the other $(document).keyup event handlers intact?
More From » jquery