RE: [PHP-WIN] Re: [PHP] confirm box
| From: | Davy Obdam | Date: | Wed, 09 Oct 2002 15:00:34 +0000 |
| Subject: | RE: [PHP-WIN] Re: [PHP] confirm box | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-119445@lists.php.net to get a copy of this message | ||
Hi Archie,
Thanks it works. Great i knew i was forgetting something.
Best regards,
Davy Obdam,
mailto:info@davyobdam.com
-----Original Message-----
From: Archibald Zimonyi [mailto:arsi@cd.chalmers.se]
Sent: Wednesday, October 09, 2002 4:44 PM
To: Davy Obdam
Cc: PHP Mailinglist; PHP-WIN Mailinglist
Subject: [PHP-WIN] Re: [PHP] confirm box
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"
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
================================================================
Deze e-mail is door E-mail VirusScanner van Planet Internet
gecontroleerd op virussen. Op http://www.planet.nl/evs staat
een
verwijzing naar de actuele lijst waar op wordt gecontroleerd.