Hi all,
I'm trying to "catch" the escape key being press with the following:
However its not working - but I dont understand why - anyone have opinions?Code:$(document).keyup(function(e) { if( e.keyCode==27 && popupStatus==1){ alert('Handler for .keypress() called.'); disablePopup(); } });



Reply With Quote



Bookmarks