jQuery Tastenevents abfangen
/**
* Esc-Keypress-Event
*/
jQuery(document).keypress(
function(e) {
if(e.keyCode==27) {
// Your Code on Esc-Keypress
}
}
);

/**
* Esc-Keypress-Event
*/
jQuery(document).keypress(
function(e) {
if(e.keyCode==27) {
// Your Code on Esc-Keypress
}
}
);