Hello,
I'm using jQuery Datepicker but I'm having trouble when editing records.
// js code
$(function(){
$(".datepicker").datepicker().datepicker('option', 'dateFormat', 'yy-mm-dd').datepicker('option', 'changeMonth', 'true').datepicker('option', 'changeYear', 'true');
})
// the input
<input type="text" name="valid_from" value="2010-02-27" class="datepicker" />
But when the page is rendered the date shown (and selected when I open the datepicker) is of today.
I'm can't really understand what's going on.