Hi,
I have a php file with cboMonth and cboYear <select> drop downs and I have chkPresent in the same page.
I want to know how can I disable the cboMonth and cboYear and set both value to null if the chkPresent is checked?
Thanks, Jassim
jrahma;11034669 wrote:I want to know how can I disable the cboMonth and cboYear and set both value to null if the chkPresent is checked?
In a word, Javascript.
But wouldn't it make more sense to have todays date prefilled - if that's what chckPresent was supposed to do?
Also, you may want to google for javascript date picker for ready solutions.