Help making button go to a specific URL

liunx

Guest
I need some help making a button go to a specific URL.<br />
<br />
By button I mean <input type="button"> <br />
<br />
I have tried putting an <a href=http://www.htmlforums.com/archive/index.php/""> around it, making the action="http://blahblah.com" , changing the type to submit and making the action the same ...<br />
<br />
How do you make it so that a button - not an image of a button - can go to a specific URL?<!--content--><form method="link" action="http://www.ururl.com"> <input type="submit" value="click here"></form><!--content-->well normally a button like this<br />
<input type="button"> <br />
<br />
is controlled by javascript. I myself could help you with that but maybe somebody else could<!--content--><input type="button" onClick="window.location.href='http://www.htmlforums.com/archive/index.php/url'"><!--content-->Originally posted by COBOLdinosaur <br />
<input type="button" onClick="window.location.href='http://www.htmlforums.com/archive/index.php/url'"> <br />
<br />
Using this would get you the best results. Just make sure to insert your own url in place of "url".<!--content-->Hi there chiro,<br />
<br />
this thread is 3 YEARS OLD. :supereek:<br />
Why resurrect it just to confirm COBOLdinosaur's solution. :confused: <br />
Are you planning on continuing this practice. :rolleyes:<!--content-->
 
Back
Top