Enable/Disable the datepicker
posted 6 years ago
I have one drop down and one InputText field with a datepicker in this Input field. We have three options in the drop down("Select one", "Yes", "No"). If we select the "Yes" option then the InputText field will be enable and we can select a date from the datepicker as well. But when we select the option "Select one" or "No" the InputText field will be disable and also we can not select date from datepicker. I wrote the jquery the foolowing way only the Inputfield getting enable and disable but not the datepicker. I would appreciate if someone can help me so that both works together. Thanks!!