I'm using a bit of Javascript to display content based on the dropdown selection:

However, I would like it when the user selects "show two" that it shows the 2 div elements rather than specifically div2.

And for "show three" it would show all 3 divs.

How do I achieve this?

Many thanks for any pointers.