javascript - How to dynamically change information displayed by radio button?
问题 (Duplicate?) I've tried several Stackoverflow postings related to this, but I cannot get a javaScript example to work. I'd like to avoid having to use jQuery , for the time being. I want to create the information shown by radio buttons dynamically , using javascript . In this example, I would want to write a function that displays some other values for these radio buttons 'Answer 1' and 'Answer 2'. For example, I don't actually want 'Answer 1'. Goal is for the user to click on one of the