• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enable/Disable the datepicker

 
Sam Saha
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!

HTML:


Script:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic