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 Quote Link to comment 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] Quote Link to comment Share on other sites More sharing options...
Destramic Posted January 22, 2007 Author Share Posted January 22, 2007 thanks mate that great Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.