i have this markup
<input tabindex="5" type="text" class="bgFecha date-pick" id="date2" value="12/03/2011" name="date2"/>
Please note the value of the input
but onclick the datepikcer starts with a 2 years later date:

This is the call:
$(function(){
$('.date-pick').attr('readonly','true');
$('.date-pick').datePicker({clickInput:true})
});
What is wrong? i need the datepicker to use the value=”” date to start.
thanks
The default format for jquery datepicker it’s
mm/dd/yy. You need to use 12/03/11.Or you can change the date format: