Selecting combo item should enable/disable the text box
Posted: Thu Aug 13, 2009 1:01 am
Hi All,
I am fresh to PHP.
I am trying to play with combobox and text field on same page.
Combo box has 'yes' and 'no' options.If 'yes' option is sected the text field should be enabled on same page and if 'no' option is is selected the text field should be disabled.
I should not submit the page by a button click to enable/disable the text field.It should happen only with selection.
If any body has any idea or code to share please help!!!
Regards,
-Manoranjan
I am fresh to PHP.
I am trying to play with combobox and text field on same page.
Combo box has 'yes' and 'no' options.If 'yes' option is sected the text field should be enabled on same page and if 'no' option is is selected the text field should be disabled.
I should not submit the page by a button click to enable/disable the text field.It should happen only with selection.
If any body has any idea or code to share please help!!!
Regards,
-Manoranjan