posted 23 years ago
Also, if you are only going to use "OK" and "Cancel" you could use JavaScript's confirm() rather than writing the output to a new page. Confirm returns either true or false depending on which button is clicked, so it is easy to perform the appropriate action based on the user input.