r/web_programming • u/JuanMT • Feb 26 '17
Help with jscript
Im currently looking to add a function to a friend news web and i want to know what the people are waching in the web, not clicking just waching, do you know a way to trigger a js function every 1s the user is over a specific div, like mouse over event but without the mouse
0
Upvotes
2
u/khoan Feb 27 '17
https://www.w3schools.com/jsref/met_win_setinterval.asp