Answer the question
In order to leave comments, you need to log in
How to make a function execute when hovering over an object?
Hello. There is such code
https://jsfiddle.net/25q0ex97/3/ .
(works only in new versions of Chrome)
It should fire on hover
document.getElementById('page').onmouseover = function(){
document.getElementById('paste').click();
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question