2
私のdatepicker jQueryクラスを削除するためにデフォルトの日を削除する必要があります。別の解決策がありますか?jquery datepickerのデフォルトの日付を削除します
$('#calendar .ui-datepicker-days-cell-over').removeClass('ui-datepicker-days-cell-over');
$('#calendar .ui-state-hover').removeClass('ui-state-hover');
$('#calendar .ui-datepicker-current-day').removeClass('ui-datepicker-current-day');
$('#calendar .ui-state-active').removeClass('ui-state-active');
Thx、私は "$(calendar).datepicker(" option "、" defaultDate "、null);"オプションbeforeShowDayとそれの仕事の後に。 しかし、今月のボタンをクリックして今月に戻ったとき、最初の日付は「選択不可能」ではなく、「現在の日」と定義されています。どうして ? – Luger33
jsFiddleを表示できますか?私はあなたが意味するものを得ることができません。 – Qianyue