Why jQuery UI 1.10 remove jquery dialog zIndex option?

后端 未结 6 2145
礼貌的吻别
礼貌的吻别 2020-12-03 07:45

I found the latest version of jQuery UI(1.10) remove the zIndex option. And it\'s confirmed on the jQuery website.

It really shocked me. Please think ab

6条回答
  •  感动是毒
    2020-12-03 08:21

    If you want to apply the zIndex using jQuery as soon as you instantiate the dialog, you can do the following:

    $('#element').dialog({ your options... }).parent('.ui-dialog').css('zIndex',9999);
    

提交回复
热议问题