function locate() {
var getCities=document.getElementById("cities");
if(getCities.value=="London"||getCities.value=="Moscow") {
location.href="http://google.com";
}
}
<form>
<select id="cities" onchange="locate()">
<option value="London">London</option>
<option value="Moscow">Moscow</option>
</select>
</form>