Menu
how do I redirect user to another site when he clicks on an image using onClick event?
I tried
[code=php]
<a hre=”#”><img src=”back.gif” onClick=”javascript:window.location.href=”main.jsp”></a>
** java script is javascript, not sure why it’s like that here **
but it does not work.