javascript onmouseover event get attribute value code example Example: javascript hover event element.onmouseover = function() { //Hovering }