I have using Control+N shortcut key for my application but new window is opening
else if (e.ctrlKey && e.which === 78) { // 78 is the key code for 'N'
e.preventDefault();
apex.item("P1_ITEM").setValue('6');
apex.page.submit();
}
I need to set that page item value while I am pressing Ctrl+N key how to do?
I used various method to hanle this but this issue is not fixed
e.stopImmediatePropagation(); // Stop propagation to other handlers
e.stopPropagation();
return false; // Prevent default behavior and stop propagation but these method are not working give any suggestion to do this