From what I understand you want to validate using the block, see if it fits using jQuery itself. It is very simple and very easy to understand, but if you need some feedback from PHP warns, because it would just be appropriate or check if the Antonio model fits.
jQuery
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
HTML
<form id="formulario" method="" action="">
<select id="opcao">
<option value="">Selecione a opção</option>
<option value="1">Opção 1</option>
<option value="2">Opção 2</option>
</select>
<input type="text" id="retorno" disabled />
</form>
Script
$(document).ready(function(){
$('#opcao').change(function(){
var selecionado = $(this).val();
if(selecionado == ""){
$("#retorno").val("Opção não Selecionada");
}else{
if(selecionado == 1){
$("#retorno").val("Contratro");
}
if(selecionado == 2){
$("#retorno").val("Carreira");
}
if(selecionado == 3){
$("#retorno").val("Outra Opção");
}
}
});
});
Be clearer and put code examples than you have done.
– Kenny Rafael