我正在使用颜色框弹出。并在关闭确认框触发“你确定要退出吗?”,它显示,确定和取消作为默认按钮。
我的问题是你能重命名这些按钮,比如“是,关闭”和“否”
var response;
response = confirm('Do you want to close this window? All your changes will not be saved');
if (!response) {
return
}
我正在使用颜色框弹出。并在关闭确认框触发“你确定要退出吗?”,它显示,确定和取消作为默认按钮。
我的问题是你能重命名这些按钮,比如“是,关闭”和“否”
var response;
response = confirm('Do you want to close this window? All your changes will not be saved');
if (!response) {
return
}