'Javascript-simulate mouse over
Is it possible to simulate a mouseover event within the browser using JavaScript?
I've searched about it but I didn't find any useful information if this can be done
Solution 1:[1]
You could get the element by id and call its mouseover event:
document.getElementById('myDivId').onmouseover();
Or if you want to do it in jquery:
$('#myDivId' ).trigger('mouseenter');
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
