Re: Submitting a form from <a> tags
| From: | Marek Kilimajer | Date: | Sun, 30 May 2004 14:18:03 +0000 |
| Subject: | Re: Submitting a form from <a> tags | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187232@lists.php.net to get a copy of this message | ||
GodFoca wrote:
Heyp! I wanted to know if there is some way to do the submitting of a form from a normal href link, instead of the big-dumb-gray button. If it can't be done with PHP, how can it be done? Thanks in advance, Nicolas SanguinettiThought it is possible to use javascript as suggested by John, the recomended way is to use styles to change the appearance of the submit button. Example: <style> .submit { border: none; background-color: white; } .submit:hover { border: none; background-color: white; text-decoration: underline; cursor: hand; cursor: pointer; } </style> <input type="submit" value="Send" class="submit">