Click to See Complete Forum and Search --> : form link


jshalcott
03-08-2006, 01:53 AM
I'm been deep into my website and I need to know how or is it possible to make a simple submit button into a link. I got the submit button to show without the form tags. But not able to get it to act like a link. Here is what I got:

<a href="index.html"><input type="submit" value="Lets Go!"></a>
And
<input type="submit" href="index.html" value="Lets Go!">

pcthug
03-08-2006, 02:15 AM
try either
<a href="http://www.google.com"><button onclick="location.href='http://www.google.com';">Hello</button></a>
or
<form action="http://www.google.com"><input type="submit" value="Hello"></form>

jshalcott
03-08-2006, 03:00 AM
thanks man both of them worked, picked the second one easier to remember and so i didn't have to add another thing to my css sheet, I'm using a custom text areas.