1
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;
        }

我的页面上有这个,它工作正常,但我在哪里可以更改“关闭”按钮的文本?

4

1 回答 1

3

只需在此处指定一个名称:

buttons: {                        
    "Some other name": function () {
        $(this).dialog('close');
    }
}
于 2012-11-11T18:21:43.853 回答