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: