Trying to map F1 key to trigger button action
By checking here: https://www.toptal.com/developers/keycode
F1 key has code 112
Tried
$(document).keyup(function(event) {
if (event.keyCode == 112) {
$("#next action-button").click();
}
});
But it opens Chrome Help page.