$(function(){ // bind change event to select $('#selsite').bind('change', function () { var url = $(this).val(); // get selected value if (url) { // require a URL window.location = url; // redirect } return false; }); });