if (typeof (ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) {
$("#validation_dialog").dialog({
title: "Form alanlarini kontrol edin!",
modal: true,
resizable: false,
show: "blind",
hide: "explode",
buttons: {
Close: function () {
$(this).dialog('close');
}
}
});
return false;
}
我在我的页面上有这个,它工作正常但我在哪里可以更改“关闭”按钮的文本?
答案 0 :(得分:3)
只需指定一个名称:
buttons: {
"Some other name": function () {
$(this).dialog('close');
}
}