Jquery date picker z-index issue

前端 未结 14 2144
傲寒
傲寒 2020-12-02 12:57

I have a slideshow div, and I have a datepicker field above that div.

When I click in the datepicker field, the datepicker panel show behind slideshow div.

14条回答
  •  甜味超标
    2020-12-02 13:13

    I had this issue i solved by using on click:

    var checkin = $('.dpd1').datepicker()
    .on('click', function (ev) {
            $('.datepicker').css("z-index", "999999999");
    }).data('datepicker');
    

提交回复
热议问题