日期时间选择器显示在模态jquery-confirm模态后面

时间:2019-01-08 08:50:21

标签: javascript jquery twitter-bootstrap modal-dialog

我不使用引导程序模式,但正在使用

j confirm modal,问题是正在从另一个页面加载部分页面。但是,当我尝试使用日期时间选择器时,它将出现在模式后面 enter image description here

大多数在线解决方案主要基于引导程序模式,并且也尝试使用此类。

#ui-datepicker-div {
        position: relative;
        z-index: 99999; 
    }

但无济于事。 甚至这个链接 similar question another similar question

也许是因为正在使用jConfirm js文件或什么?

1 个答案:

答案 0 :(得分:0)

您需要增加下拉日历的z-index:

.datepicker.datepicker-dropdown.dropdown-menu {
     position: relative;
     z-index: 99999; 
}
相关问题