I have a dropdown menu with two values, I want to disable or grey out bootstrap datepickers when a particular value is chosen from the drop down.
Using Javascript or JQuery is there any way to disable or grey out a bootstrap datepicker so that a user cannot enter any value?
I have extensively researched this online and the suggested JQuery prop and atr methods have no effect.
I have attached an image of what the screen should ideally look like below:
