by austincheney · 4y ago · 0 comments
The one event that cannot be automated is cursor movement/position. Put a check into your event handlers that check that the cursor is actually over the event target.
Are you saying block form submission unless the cursor is over the event target?
If so:
* How to handle legitimate requests from mobile users?
* How to handle form submissions with the "return" key?
Return key on a control in a form will fire a submit event. Check for cursor position in your submit handler.