What is jquery
How to show and hide div elements based on dropdown selection in jQuery
Answer: Use the jQuery change() method
The following example will demonstrate you ways to show and hide div elements based on the dropdown selection or selected option in a select box using the jQuery change() method together with the show() and hide() methods. The div boxes in this example are hidden by default using the CSS display property which value is set to none.