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

I have this on my page, it works fine but where can I change the text of the "Close" button?

wallace740
  • 1,380
  • 5
  • 19
  • 36

1 Answers1

3

Just specify a name like here:

buttons: {                        
    "Some other name": function () {
        $(this).dialog('close');
    }
}
Dmitrii Tarasov
  • 414
  • 2
  • 13