为什么这段代码没有按预期在鼠标悬停时交换图像?:
<a href="#" onMouseOver="
if (document.the_image.src == '01.jpg')
{
document.the_image.src = '02.jpg';
}
else if (document.the_image.src == '02.jpg')
{
document.the_image.src = '03.jpg';
}
else
{
document.the_image.src = '01.jpg';
}
">
Some image</a><br>