Home 页面弹出框的操作
Post
Cancel

页面弹出框的操作

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