So here is the setup: I have two jquery datepickers, inside a jquery tab, inside a jquery modal dialog window:
\\---/\\---/\\---/_______________ /
I think you have another code that interfere with the javascript as this : http://jsfiddle.net/fMD62/
works perfectly (with jquery 1.9.1 and jqueryui 1.9.2
maybe try
$(function() { $("#datepicker1,#datepicker2").datepicker(); });