I'm encountering a common issue with the jQuery datepicker where it's displaying behind a dropdown box. I've tried implementing the solutions provided in this thread:
Trouble with jQuery Dialog and Datepicker plugins
However, these solutions don't seem to be effective on my page. I'm using "jquery-ui.css" and within it, I've defined:
.ui-datepicker {
width: 17em;
padding: .2em .2em 0;
z-index: 9999 !important;
}
Despite this, the datepicker continues to appear behind the dropdown box. Upon inspecting my page using Chrome Developer's Tool, I found the following:
<div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-helper-clearfix ui-corner-all" style="position:absolute; top:160.875px; left 146px; z-index:1;">
My question is, how can I identify the correct place to modify the z-index value? I believe setting it in the .ui-datepicker class is correct, but I'm unsure why it's not having the desired effect.
Any assistance on this matter would be greatly appreciated. Thank you.