I want to have a datepicker in a modal (popup) but when i open the datepicker it shows up behind the modal. How do i set the z index on the datepicker?
You can use the .ui-datepicker class to specify a z-index. You have to use important though to override the default one which is 1000
.ui-datepicker {
z-index: 2000 !important;
}