//加上这个遮蔽罩就可以了
$( "#id" ).dialog({
modal: true,
buttons: {
Ok: function() {
$( this ).dialog( "close" );
}
}
});
解决 禁止html弹框以外的操作
最新推荐文章于 2023-11-30 10:33:28 发布
本文介绍了一种使用遮蔽罩创建模态对话框的方法,通过jQuery UI的dialog插件,设置modal属性为true,并定义了关闭按钮的事件处理函数。
2万+

被折叠的 条评论
为什么被折叠?



