Is there any way to catch key combination ctrl+x+return in jquery(or javascript), such that if user presses this key combination, a function
You can use the ctrlKey property of the key press event object
$(document).keypress(function(e) {
if(e.ctrlKey) {
// do code to test other keys
}
});
Also shift, alt reserved keys have properties, but the enter key has keyCode 13.
Is there any reason you can't to try a different combination - e.g. ctrl-alt-x? Enter key is usually reserved for triggering form submits and other events on a web page.