I came across a helpful code on this website while working on my own website. After customizing it to my liking, I encountered some issues. My main goal is to have all divs displayed when no value is selected from the dropdown box. Below is the code that I am currently using:
<style type="text/css">
websitesubmission {
display: block;}
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.js"></script>
<script>
$('#category_faq').on('change', function () {
$('websitesubmission').hide();
$('websitesubmission.' + $(this).val()).show()
});
</script>
<select id="category_faq">
<option selected value="">Select An Option</option>
<option value="information">info</option>
<option value="news">news</option>
<option value="blog">blog</option>
</select>
<br/>
<websitesubmission class="information">info</websitesubmission>
<websitesubmission class="news">news</websitesubmission>
<websitesubmission class="blog">blog</websitesubmission>
Check out the JSFiddle link for the functioning code: http://jsfiddle.net/fj07nnu3/105/
(UPDATED TO SHOW WORKING SOLUTION)
For a solution that worked well for another user, visit this link: http://jsfiddle.net/fj07nnu3/124/