Ask for a Confirmation By Carrie Gatlin (7/26/00) To err is human, and although retraction is divine, some mistakes prove harder to reverse than others. Wouldn't it be nice if everyone had a guardian angel making sure that before every big decision we first considered the gentle prompt, "Are you really sure you want to do that?" The JavaScript confirm() method, a close cousin to the alert() method, lets you play guardian angel and prevent your visitors from making possibly costly and time-consuming errors. While the alert() method lets you offer users more information before moving on, the confirm dialog box gives them the option of canceling the action altogether. To use the confirm() method, add the following script to your document and personalize the confirmation message: ------------------------------------------------------------------ New One...