bootstrap datepicker z-index仍然没有改变

时间:2015-10-08 09:42:08

标签: bootstrap-datepicker

我的bootstrap-datepicker需要在13处有一个z-index。

我在文档中使用参数zIndexOffset设置它。

但结果是将z-index保持为默认值为10。

                $('.date-picker').datepicker({autoclose:true, language: 'fr', format: 'dd-mm-yyyy', zIndexOffset:13}).next().on(ace.click_event, function(){
                $(this).prev().focus();
            });

1 个答案:

答案 0 :(得分:0)

  1. 找到bbostrap-datimepicker.min.js更改return c(this).css("z-index")!="auto"} return c(this).css("z-index")!="9999"}
  2. datetimepicker.css .datetimepicker {z-index:9999}
相关问题