...

View Full Version : How to make a button go to page on click



tpeck
04-13-2006, 03:51 PM
It must be simple, but I can't do it! I want to make a button go to a page with the onclick handler:

<a href="start.html">
<input type=button value="GO BACK TO START" onclick="??????????;return false;"></a>

I've tried everything I can think of...

Thanks,

Terry

Kor
04-13-2006, 04:26 PM
<input type="button" value="GO BACK TO START" onclick="location.href='start.html'">

No need to use a link or a return false



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum