Meaningless Drivel is fun!
The moose likes JSF and the fly likes Enable/Disable the datepicker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Enable/Disable the datepicker " Watch "Enable/Disable the datepicker " New topic

Enable/Disable the datepicker

Sam Saha
Ranch Hand

Joined: Jan 23, 2010
Posts: 104
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!!



I agree. Here's the link:
subject: Enable/Disable the datepicker
It's not a secret anymore!