I’ve used a button with a shortcut key as ‘Alt+r’..I’ve changed the value of the button using javascript(without reloading the jsp) based on some evaluations.. How to set the accesskey for the button with the new value as “Alt+n” inaide the same javascript function.Just like ‘innerHtml’ is used to change the value of the button, s there any way that i can change the shortcutkey for the button
Share
You can use the accessKey property:
You cannot guarantee that it will be mapped to
Alt+N, though, since that depends on the browser.