/*$('#header-location-dropdown').locationSelect({ locations: locations, choose_events: [ function() { $('.location-title').text(this.chosen_location.title); $('.location-phone').text(this.chosen_location.phone); $('.location-address').html(this.chosen_location.address); } ] }); */ $('#header-location-dropdown').change(function() { if($(this).val() == "San Clemente, CA") { window.location.href = "https://www.thefishermansrestaurantsanclemente.com/"; } if($(this).val() == "Rancho Mirage, CA") { window.location.href = "https://www.thefishermansrestaurantranchomirage.com/"; } })