开发者

disabling click of controls

开发者 https://www.devze.com 2023-02-02 06:20 出处:网络
Hi I am using jQuery-ui-1.8.7-custom.js dialog box. Now i want when the dialog box will open then the user will not be able to click on any control of page.

Hi I am using jQuery-ui-1.8.7-custom.js dialog box. Now i want when the dialog box will open then the user will not be able to click on any control of page.

Pl开发者_如何学运维ease give me solution.

Thanks & Regards,

Munish Gautam


Use modal config option when you are displaying the dialog. Refer to http://jqueryui.com/demos/dialog/#option-modal


Pass in modal: true:

dialog({ modal: true })
0

精彩评论

暂无评论...
验证码 换一张
取 消