jQuery datepicker

I'm using the jQuery datepicker on several text input fields in my app. It works fine everywhere except on modal forms where the calendar doesn't popup for date selection. Checked that I have the datepicker class on the fields and that they have ids.

Any ideas?

It's likely that the datepicker's z-index isn't higher then the modals so it's probably popping up under the modal so you can't see it.


Thanks, I'll check into that.