Re: confirm box
| From: | Archibald Zimonyi | Date: | Wed, 09 Oct 2002 14:43:40 +0000 |
| Subject: | Re: confirm box | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-119440@lists.php.net to get a copy of this message | ||
Hi there,
> echo "
> <form name=\"admin\" onSubmit=\"ConfirmDelete();\">";
> //The rest of my form
>
I am not exactly sure about this but I think you have to define the
onSubmit with a return, otherwise it will always fall through, onSubmit
only fails the submission if it returns a false value, otherwise it
will always continue.
Add the following and test.
<form name=\"admin\" onSubmit=\"return ConfirmDelete();\">";
Archie
---
Archibald Zimonyi
arsi@cd.chalmers.se
"There is no logic like no logic"