RE: [PHP] Submit Button That Is Just Normal Text?
| From: | Jason Murray | Date: | Fri, 27 Oct 2000 01:26:14 +0000 |
| Subject: | RE: [PHP] Submit Button That Is Just Normal Text? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22240@lists.php.net to get a copy of this message | ||
> Does anyone know how to do a submit button that is just normal
text?
Normal text is not a button.
What I think you're actually asking is how to have a link on
text which submits a form - which is a JavaScript function, not
PHP.
"<A HREF='javascript:formname.submit();'>Submit Form</A>" should
do you, but will completely totally and utterly fail to work if
the browser does not support it / has JavaScript turned off.
Moral of the story: Use a button. :)
Jason