Title: Dynamically disable dates on datebox by setting year, month and fortnight values Post by: jahangir on June 02, 2019, 04:52:59 AM I have three comboboxes on a form 'year', 'month' and fortnight, and one datebox
I want to achieve following. 1- for example, if the user selects year = 2019 month = 4 and fortnight = 1 and then select the date the datebox should only show the calendar for the month of April 2019. 2- if fortnight = 1 then only dates from 1 to 15 are enabled and if fortnight = 2 then only dates from 16 to 30 are enabled. Title: Dynamically disable dates on datebox by setting year, month and fortnight values Post by: jahangir on June 02, 2019, 10:08:26 PM I have solved this way.
Code: $('#dt').datebox({ |