mouse hover event in js code example Example: javascript hover event element.onmouseover = function() { //Hovering }