0
Please help Angular
I have to div show hide on the basis of drop down selection can anyone help me for this. <select id="mydiv">   <option value="music">Music</option>   <option value="picture">Picture</option>   <option value="content">Content</option> </select> <div id="music"> </div> <div id="picture"> </div> <div id="content"> </div>
1 Answer
0
I don't how it's done in Angular, but in general you evaluate the selected dropdown option value, and use that to decide which of all the divs is supposed to be shown or hidden. Just passing off an idea.