Re: Tutorial?
| From: | Markus Lervik | Date: | Mon, 04 Mar 2002 08:13:43 +0000 |
| Subject: | Re: Tutorial? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17440@lists.php.net to get a copy of this message | ||
On Sun, 2002-03-03 at 08:18, Jennifer Downey wrote:
> Can anyone point me to a good tutorial on how to disable a submit button
> once clicked?
> preferably in php.
If I understood the question; wouldn't this produce the desired result?
<INPUT TYPE="submit" NAME="submit" <?php if (isset($disabled)) { echo
"DISABLED"; }?> VALUE="whatever">
If $disabled is set, the button is rendered "grayed out", but still
visible.
--
Markus Lervik
Linux-administrator with a kungfoo grip
Vaasa City Library - Regional Library
markus.lervik@vaasa.fi
+358-6-325 3589 / +358-40-832 6709