I have a combo box (So I can choose either yes or no) If I choose yes, how do I show a <span> with an id (change is from display:none, to display:block)
Thank you!
I have a combo box (So I can choose either yes or no) If I choose yes, how do I show a <span> with an id (change is from display:none, to display:block)
Thank you!
You would use an onchange event on the combo box, to trigger a function that checks the selected value, and sets or removes a class name from the span. Commonly the class name is “hidden” so that the presentation is controlled from a CSS rule.