js弹出提示框判断是否

var returnVal = window.confirm("添加数据成功\n是否继续添加?", "标题"); if(!returnVal) { window.location.href = "Index.php"; }
相关文章
相关标签/搜索