|
You also need to get rid of the confirm() call - it only continues to exist so it can be used for debugging scripts - in most browsers it will display an extra checkbox to either turn off all subsequent alert/confirm/prompt dialogs when the second such dialog is displayed. In at least one browser it always displays an extra checkbox allowing JavaScript to be turned off completely for the current web page every time it displays.
|