jQuery(document).ready(function($) { $('#slctDeptContact').on('change', function() { valThis = $(this).val(); window.location.href = valThis; }); $('#slctDeptFees').on('change', function() { valThis = $(this).val(); window.location.href = valThis; }); });