Computer Hope
Internet & Networking => Web design => Topic started by: Windscreen_Elvis on September 28, 2004, 05:59:47 AM
-
Hi all. What I'm trying to do on a webpage I'm making is to have 3 pairs of radio-buttons (Yes and No answers to three questions) and when the visitor has made a selection for all three pairs, an answer appears below.
This should be very simple because it's only the one answer - "If you answered yes to all three questions then..." - that's what my friend wants on his webpage.
I could make the answer text white, as that's the background colour, and have it change to black when there's been a selection made for each pair of radio-buttons - I just have no idea how to code that in html :-[
Could anybody help? Any advice would be greatly appreciated.
Many thanks,
- Windscreen Elvis
-
You've no idea how to code it in HTML because it isn't possible. You are going to have to resort to a scripting language like Javascript.
There are quite a few tutorials on the net about Javascript. I generally like the webmonkey.com tutorials; try having a look through that.
www.webmonkey.com
-
Another tutorial web site:
http://www.w3schools.com/default.asp