I know about the document.form.button.click() method. However, I\'d like to know how to simulate the onclick event.
document.form.button.click()
onclick
I found this code somew
You can use elementFromPoint:
document.elementFromPoint(x, y);
supported in all browsers: https://caniuse.com/#feat=element-from-point