Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onmouseoverExample() {
- var myElement = document.getElementById("hoverExample");
- myElement.innerHTML = "This changed when you hovered over the element.";
- myElement.style.color = "red";
- }
- function onmouseoutExample() {
- alert("This alert occured when you moved your mouse away from the element.");
- }
Add Comment
Please, Sign In to add comment