So here is the setup: I have two jquery datepickers, inside a jquery tab, inside a jquery modal dialog window:
\\---/\\---/\\---/_______________
/
This is a total shot in the dark but have you tried initialising each one seperately? Something like the following
$(function() {
$('.datepicker').each(function(){
$(this).datepicker();
});
});
It's probably what the others have mentioned and you are encountering some form of interference with your code, but it's worth a quick shot.