Live Webinar: Prompt Engineering: Skill Everyone Must Learn Today
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Change The Image When Mouse Out Using Onmousemove Event In JavaScript
WhatsApp
Delpin Susai Raj
Aug 25
2016
772
0
0
Onmouseout Events.ra
<html>
<head>
<script type=
"text/javascript"
>
function
mouseOver() {
document.getElementById(
"b1"
).src =
"Water lilies.jpg"
;
}
function
mouseOut() {
document.getElementById(
"b1"
).src =
"Sunset.jpg"
;
}
</script>
</head>
<body>
<a href=
"Onclick.html"
target=
"_blank"
> <img border=
"0"
alt=
"Visit Onclick!"
src=
"Water lilies.jpg"
id=
"b1"
width=
"260"
height=
"260"
onmouseover=
"mouseOver()"
onmouseout=
"mouseOut()"
/></a>
</body>
</html>
JavaScript
Up Next
Change The Image When Mouse Out Using Onmousemove Event In JavaScript