Link to home
Start Free TrialLog in
Avatar of i-CONICA
i-CONICAFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Javascript show one of two textareas based on radio button selection

Hi,

I need to show two textareas, but hide one, and show the other based on radio button selection.

So there'll be two radio buttons, and depending on which is selected, it'll show one, or the other textarea.

I have a javascript function already in place which I send the element ID to, and it shows/hides (by display:block, display:none), I don't know if this could be used in some way for this?

Any help would be awesome.

Thanks.
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 i-CONICA

ASKER

Thank you. :)
Thanks for the points!