<form method = "post">
<div class="form-group">
<label for="pickUpCountry">Company type</label>
<select class="form-control" id="pickUpCountry" name="pickUpCountry" onchange="example()">
<option value="1">Russia</option>
<option value="2">United states</option>
<option value="3">United Kingdom</option>
</select>
</div>
<button type="submit" name="companyRegister" class="btn btn-default">Register </button>
</form>
<script>
function example(){
var e = document.getElementById("pickUpCountry");
var pickUpCountry = e.options[e.selectedIndex].text;
alert(pickUpCountry);
}
</script>