javascript表單提交:使用提交和取消選項的確認對話框
使用Inline JavaScript確認對話框
實現與Option cormist cormbs inscriond對話框,以提交或取消確認對話。 This dialog displays a pop-up message prompting the user to confirm the form submission and provides two buttons: "OK" and "Cancel."
To use an inline JavaScript confirm dialog, add the following code to your HTML form: