Reputation: 1380
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;
}
I have this on my page, it works fine but where can I change the text of the "Close" button?
Upvotes: 1
Views: 2439
Reputation: 414
Just specify a name like here:
buttons: {
"Some other name": function () {
$(this).dialog('close');
}
}
Upvotes: 3