Hi Archie,

Thanks it works. Great i knew i was forgetting something.

Best regards,
 
Davy Obdam,
mailto:[EMAIL PROTECTED]


-----Original Message-----
From: Archibald Zimonyi [mailto:[EMAIL PROTECTED]] 
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
[EMAIL PROTECTED]

"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.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to