JQuery, Datepicker, LiveQuery, and AJAX

JQuery, Datepicker, LiveQuery, and AJAX

I have a web page that loads additional pages using AJAX. I'd like to include a couple of Datepicker plugins on one of the pages that the user may select using AJAX. My Datepickers using the code below work fine on non-AJAX pages, but they aren't being bound to the controls if the page is loaded using AJAX. I'm using LiveQuery to try to get the Datepickers to appear on the AJAX-loaded pages. The code for the Datepickers looks like this:

   
  1.  $('.date-pick').livequery(function(){
    $(this).datepicker({
    dateFormat: 'mm/dd/yy',
    changeYear: true,
    changeMonth: true,
    constrainInput: true,
    buttonImage: 'css/custom-theme/images/calendar.gif',
    showOn: 'button' });
    });







The HTML for the text fields associated with Datepicker look like this:

   
  1.  <input type="text" name="startdate" class="date-pick" id="startdate" value="<?php echo '01/01/' . $curyear ?>" size="10" maxlength="10" />
I should note that the AJAX calls are not made using JQuery, but with some javascript AJAX code directly. I'm using JQuery 1.3.2, JQuery UI 1.7.2, and LiveQuery 1.0.3.

Can anyone tell me what I'm doing wrong?

TIA