jquery datepicker - altfield issue
<p>I have multiple datepickers on a page... all seems to be working fine except I the altfield part...</p>

<p>Is something like this possible??</p>

<pre><code>$(document).ready(function(){

    $( ".datepicker" ).datepicker({
        beforeShowDay: function(date){ return [(date.getDay() == 1 || date.getDay() == 4), ""] },
        showOn: "button",
        buttonText: "Book now...",
        showWeek: true,
        firstDay: 1,
        onSelect: function(date) { 
            $(this).parent().find('.selecteddate').prepend("Date: " + $(this).parent().find('.datepicker').val() + " - &lt;a href='javascript:;' class='cleardate'&gt;clear date&lt;/a&gt;"); 
            $(this).parent().find('button').hide();
        },
        dateFormat: "DD, d MM, yy",

        altField: $(this).closest('div').find('.datepickeralt'),

        altFormat: "dd/mm/yy",
        navigationAsDateFormat: true,
        minDate: 0,
    });

    $(".cleardate").live('click',function(){
        $(this).closest('div').find('.datepicker').datepicker("setDate", null);
        $(this).closest('div').find('.datepickeralt').val("");
        $(this).closest('div').find('button').show();
        $(this).parent().html("");
    });

});
</code></pre>
