HTML button that when pressed simulates a ESC kayboard key pressed. So clicking the button would have same effect as user pressing ESC key on their keyboard
If it is certainly not possible in anyway please tell me.
Any method is fine.
EDIT: I dont want pressing ESC key to trigger something, i want the reverse, something that triggers ESC key