Destramic Posted January 21, 2007 Share Posted January 21, 2007 easy question...i have just a general button...when it is clicked i want it to to a certian uri eg.google.commaybe a onclick function? i cant fingure it out.[code]<input type="button" class="button" id="preview_button" name="preview_button" value="Preview" title="Preview" />[/code]thanks ricky Link to comment https://forums.phpfreaks.com/topic/35139-button-link/ Share on other sites More sharing options...
bibby Posted January 22, 2007 Share Posted January 22, 2007 [code]<input type="button" value="Google" onclick="window.location='http://www.google.com';">[/code] Link to comment https://forums.phpfreaks.com/topic/35139-button-link/#findComment-165972 Share on other sites More sharing options...
Destramic Posted January 22, 2007 Author Share Posted January 22, 2007 thanks mate that great Link to comment https://forums.phpfreaks.com/topic/35139-button-link/#findComment-166512 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.