在jQuery UI的对话框
问题描述:
可能重复禁用关闭按钮:
Remove close button on jQueryUI Dialog?在jQuery UI的对话框
我得到了一些问题,JQuery用户界面对话框禁用关闭按钮。
我的代码如下图所示。
$(document).ready(function() {
$("#dialog").dialog({
modal: true,
width:800
});
});
thanx提前
答
试试这个它会工作..
$(document).ready(function() {
$("#dialog").dialog({
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); },
modal: true,
width:800
});
});
+1
谢谢你Umakanta。 – 2010-09-28 07:23:43
+6
不能相信这不是创建对话框的选项! – 2011-11-18 16:47:39
这些都是 “一些问题”? – Reigel 2010-09-28 07:22:06
我没有得到如何禁用关闭按钮。 – 2010-09-28 07:27:11