Using radio buttons to change text
-
I have two linked radio buttons on a web page defined thus:
<input type="radio" id="id0" name="mydir" >Travelling north <input type="radio" id="id1" name="mydir" >Travelling south
Elsewhere on the page I have text describing what can bee seen while travelling, such as:
“On the right you can see the old town hall”
This is written as if the user is travelling north.I want to use the radio buttons to change the word “right” to “left” so that when the user is travelling south and selects button id1, the text reads
“On the left you can see the old town hall”I am fairly new to customising wordpress, and I can’t find any documentation on this (not that is simple enough for me to understand, anyway!) Can anyone tell me how to do it or suggest a good tutorial.
Journeyman
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using radio buttons to change text’ is closed to new replies.