Title: Implement restricted date Post by: guruhyes on November 05, 2022, 07:31:06 AM I'm already success implement restricted date..
but my problem is, when i create restricted january only and now is already november, the datebox view is showing november or current month, my question in how can i set the datebox base on restricted date i choose , so when user click on datebox it will show january not november or current month ? Thx for ur answer Title: Re: Implement restricted date Post by: jarry on November 06, 2022, 07:38:15 PM When the drop-down panel shows, you can set the calendar to the specified month days.
Code: $('#dd').datebox({ onShowPanel: function(){ if (!$(this).datebox('getValue')){ var c = $(this).datebox('calendar'); c.calendar({ year: 2023, month: 1 }) } } }) Title: Re: Implement restricted date Post by: guruhyes on November 10, 2022, 01:43:07 AM Its Works,
thx |