overwrite default keyboard shortcut js 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
}
}