Jagjit Saini

Jagjit Saini

  • NA
  • 166
  • 0

JavaScript

Jul 26 2011 5:53 AM
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)