trigger event of event trigger using script code example
Example: trigger event javascript
// Simple trigger event
document.querySelector(theElem).dispatchEvent(new Event('mouseover'))
// Simple trigger event
document.querySelector(theElem).dispatchEvent(new Event('mouseover'))