Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript fire keypress event

window.dispatchEvent(new KeyboardEvent('keypress', {
  'key': 'a'
}));
Source by thewebdev.info #
 
PREVIOUS NEXT
Tagged: #javascript #fire #keypress #event
ADD COMMENT
Topic
Name
8+6 =