Why not use jQuery to handle the Ajax for you with a simple .load() call and then put the date picker initialization code into a callback method such as ajaxStop() so that it executes after the Ajax is loaded. As it is now it looks like, when the datepicker() is run, your Ajax-loaded bits are not in the DOM, yet.
- [jQuery] Having trouble with date picker in AJAX div Tom
- [jQuery] Re: Having trouble with date picker in AJAX div GasGiant