5
Answers

JavaScript

Ask a question
Jagjit Saini

Jagjit Saini

13y
1.2k
1
Hi

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

<script type="text/javascript">
    image01 = new Image()
    image01.src = "Images\ab1.gif"
    image02 = new Image()
    image02.src = "Images\latest1.gif"
</script>

</head>

<body>
<a href="frm_employee.aspx" onmouseover=
"document.images['example'].src=image02.src" onmouseout=
"document.images['example'].src=image01.src">
<img src="Images\ab1.gif" alt="" name="example"></a>
</body>

</html>


Onmouseover & onmouseout not working

Thanks

Answers (5)