js override keyboard shortcut code example
Example: javascript override shortcut
onkeydown = function(e){
if(e.ctrlKey && e.keyCode == ('S').charCodeAt(0)) {
e.preventDefault();
//your saving code
}
}
onkeydown = function(e){
if(e.ctrlKey && e.keyCode == ('S').charCodeAt(0)) {
e.preventDefault();
//your saving code
}
}