Good day,
Im wondering if we can use keyboard shortcut F2 and F3 to execute function. If got, maybe can share your code to me. Below my idea to make the shortcut key. i've tried but not functioning.
$("#ENQUIRY_VIEWMETER").keypress(function(event) {
if(event.which == 113) { //F2
updateMtr();
} else if(event.which == 114) { //F3
resetView();
}
});
p/s : or maybe need some amendment on my code. :)