Link to home
Start Free TrialLog in
Avatar of kgp43
kgp43Flag for Denmark

asked on

JS, hide/show div based on dropdown selection

Hi,

I'm trying to display divs based on a standard html dropdown selection.
I have several div's on the same page, that needs to be visible/hidden, based on dropdown selection.

This is what I have, but it only work on the first two textarea, why does it not work on the last example?

http://jsfiddle.net/JDCW8/
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kgp43

ASKER

Seems to work, thanks a lot :)
Avatar of kgp43

ASKER

Perfect :D