Reputation: 99
Here is a Jsfiddle http://jsfiddle.net/EzLnH/.
If I change the function to:
$(document).bind('keypress', function(event) {
if (event.which === 77 && event.shiftKey) {
alert('You pressed ctrl+m');
}
});
It works but the function in jsfiddle does not.
Any Ideas?
Upvotes: 1
Views: 53