When I click on the image it gives me .htm?x.y. and is not executing the window.location command? Please tell me why ?
I would like to keep my redirection command inside the input brackets in the javascript part. Tx

<head>
</head>
<body>

<form name="test">
<input type=image src="image.gif"
onclick= "javascript:

window.location.href = 'http://www.yahoo.com';

">

</form>

</body>
</html>