1
2
3
4
5
6
7
var notice = "您确认要执行该操作吗?";
var flag = window.confirm(notice);
if (flag) {
alert("OK");
} else {
alert("NO");
}
Post
Cancel
页面弹出框的操作
This post is licensed under
CC BY 4.0
by the author.