Hello
I am creating add to cart paypal button with javascript in it. My code is working fine only in opera mini but not in firefox, chrome & IE. Problem is that onmouseover is working but onmouseout is not working. Following is the code -
Code:
<form target="paypal" action="*******" method="post">
<input type="hidden" name="*****" value="******">
<input type="hidden" name="*******" value="********">
<input type="image" src="http://images.mydomain.com/Add%20To%20Cart.png" border="0" name="submit" alt="Add to Cart" onmouseover=javascript:this.src='http://images.mydomain.com/Add%20To%20Cart%20Hover.png';onmouseout="javascript:this.src='http://images.mydomain.com/Add%20To%20Cart.png';">
</form>
Thanks