Text as a form submitter?

liunx

Guest
Is it possible to use a text link to submit a form? Like, you click on a link called "Search", and it will submit all the data from a box within that variable called "query". Just wondering if this was possible, as it would make my life so much easier with a job I am currently working on ;)<br />
<br />
Thanks<br />
<br />
Andy<!--content-->Originally posted by aceinstaller <br />
Is it possible to use a text link to submit a form?See here:<br />
<br />
<!-- m --><a class="postlink" href="http://javascript.internet.com/forms/submit-link.html">http://javascript.internet.com/forms/submit-link.html</a><!-- m --><!--content--><a href=http://www.htmlforums.com/archive/index.php/"#" onClick="document.formName.submit()">Submit the form</a><!--content-->if you are in the form tags already, what makes it better?<br />
<br />
just that you have a link instead of a button.<!--content-->Thanks everyone :)<br />
<br />
The reason I want a text link is because I don't want an ugly button! thinking about it though, I could just use an image of the text as a submit button ;-)<br />
<br />
Andy<!--content-->
 
Back
Top