I could use some help - I am working on a <select>
element with 4 different options in the form of <option>
. What I want to achieve is to have tables that are initially not visible, and then when an option is clicked, the corresponding table will be displayed. How can I accomplish this?
<select name="exercise">
<option value="16">Exercise 2016</option>// Display table if this option is clicked
<option value="17">Exercise 2017</option>// Show different table on click
<option value="18">Exercise 2018</option>// ***
<option value="19">Exercise 2019</option>// ***
</select>