Ver originalvar date = $('#datepicker_value').val();$( "#datepicker" ).datepicker("option", "defaultDate", new Date(date));