Re: Using href as a submit for a form
| From: | Larry_Li at contractor dot amat dot com | Date: | Fri, 18 Jul 2003 07:56:21 +0000 |
| Subject: | Re: Using href as a submit for a form | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155741@lists.php.net to get a copy of this message | ||
Try to use javascript.
<a href="javascript:document.form1.submit()">submit</a>
Change form1 as your actual form name.
---------------------------------------------------------------------------------------------------------------------------------
To: php-general@lists.php.net
cc:
"Ron Allen" Subject: [PHP] Using href as a
submit for a form
<Ronald.Allen@bondsteel2.areur.army.mil>
07/18/03 03:47 PM
Please respond to "Ron Allen"
I am using a form to submit to mysql. What I would like to do is to use a
link to submit the form instead of the standard submit button. Help is
appreicated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php