How to Show/Hide text box based on drop down value
Jen HuJul 17 2012 — edited Jul 17 2012I have a Add/Edit page. On that page, there is an 'other' text box and a drop down list. If the drop down has a value 'Other', the user need to specify the 'other' text box. If the drop down doesn't have a value 'Other'. Hide the 'other' text box.
If i change the value of the drop down list, the 'other' textbox show/hides fine. However, when the page first load and the drop down list with non 'Other' value, the text box doesn't hide. How to hide the text box after loading when the drop down list doesn't have a value 'Other'.
Hope i explained well.
Thanks,
Jen