If the user clicks on the Cancel button, then confirm() returns false. You can use a confirmation dialog box as follows. Example. Live Demo. <html> <head> ...
確定! 回上一頁