While sempsteen is correct, you can achieve the correct effect in this
simple scenario by checking the return value of the confirm button.
And then check for the submit...
This is prone to a lot of problems though if this is your only security measure.
You might want to check out this library
It seems you've a long way to go. Here is what i can say for you.
First of all PHP and JavaScript are two different programming
languages, running in different environments. JavaScript is a
client-side language which your browser interprets it with the page is
loaded. PHP is a server-side language
Hi,
Why the if(answer){ is not in the tag mailto:[EMAIL PROTECTED]
Enviado el: domingo, 27 de julio de 2008 18:04
Para: php-db@lists.php.net
Asunto: [!! SPAM] [PHP-DB] Run SQL query when click on OK button of warning
message
Hi All,
I am printing a java script warning messa