日付ピッカーの値を変更しようとしていますが、カレンダーで選択するたびに値は変更されませんが、元の値は同じままです。どうすればこれを修正できますか?
これが私のコードです
$('#birthday').datepicker({
changeMonth: true,
changeYear: true,
yearRange: "1901:2012"
});
#set ($formattedDate = $webFormatter.formatDateByPattern($webFormatter.parseDate("yyyy-MM-dd", $localBirthdate), "MM/dd/yyyy"))
<input type="text" id="birthday" name="birthday" value="$formattedDate" />