Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用对话框
$("#xDialog").dialog({width: 700, position: 'top' });
并希望在弹出上述对话框时阻止页面的用户活动。所以我使用blockUI
像
$.blockUI();
它确实使背景变暗,但我得到一个带有字符串“请稍候...”的附加对话框,有没有办法摆脱它。
谢谢
这应该有效:
$.blockUI({ message: '' });
PS-取自这里的 BlockUI 文档。