Good morning all,
Any ideas for an easy function to show/hide a DIV element? I have two drop
down lists on a page. I have two div elements I want to show and hide. If
you select "other" in dropdownlist 1 I want to show hidden DIV 1, or if the
user selects "other" in dropdownlist 2 I want to show hidden DIV 2. And
vice versa, if "other" is not selected, I want to show the relevant div. I
can do this with two different function, but i think I could combine this
into one function. I want to call this from either dropdown and pass itself
to the function, if the dropdownlist is dropdown1 I want to evaluate it and
hide/show DIV1, or if it's dropdown2, I want to show/hide DIV2. Any
suggestions? Thanks Everybody.
Regards,
Chris