<!doctype html>
<html>
<body>
<div onmouseover="mOver(this)" onmouseout="mOut(this)" style= background-color:#D94A38;width:120px;height:20px;padding:40px;>Mouse Over Me</div>
<script>
function mOver(o)
{
o.innerHTML="Really good! Thank you!"
}
function mOut(o)
{
o.innerHTML="Mouse Over Me"
}
</script>
</body>
<html>
鼠标放上去前:鼠标放上去后: