$(document).ready(function(){ /* Depending on the value selected in the drop-down list, show the appropriate form and hide the others. */ $('select#contact_select').change(function(){ switch ($(this).val()) { } }); });