How to trigger key-press of ctrl+ shift+m in jQuery?
I tried the below code for single key.Its working.But i want to trigger all the three keys at the same time.
$(document).on('keypress', function(e) {
alert(String.fromCharCode(e.keyCode));
});
$(document).trigger(jQuery.Event('keypress', { which: 77 }));
$(document).trigger(jQuery.Event('keypress', {
which: 77,
keyCode: 77
}));