I want to display Hello when I press the F1 key.
shortcut.add("F1",function(){
alert("Hello");
});
But the problem is when I pressed F1 it brought me to a new tab. Is there any way to disable this default feature? but I'm not really sure about this code if it's working on F1 keypress. Can anyone help me? thanks in advance.