addeventlistener hover js
snippet in javascript

addeventlistener hover js

user2622

let test = document.getElementById("test");

test.addEventListener("mouseover", function( event ) {
  alert("mouse over test!")
  , false);