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.
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');