> 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();\">";
"There is no logic like no logic"
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php