我正在尝试使用 Jquery UI 模态对话框进行确认,即使我在设置中将其设置为小写,标题也会显示为大写。我的简单代码如下。
我正在使用 jquery-ui-1.10.3.custom 插件。
var professionalID = $(this).attr("professionalID");
var $deleteUserDialog = $('<div></div>')
.html('The user entry will be permanently deleted and cannot be recovered. Are you sure?')
.dialog({
autoOpen: false,
modal: true,
title: 'delete user?',
buttons: {
"Delete": function () {
$(this).dialog("close");
deleteUser(professionalID);
},
"Cancel": function () {
$(this).dialog("close");
}
}
});
$deleteUserDialog.dialog('open');