Aqui te dejo un ejemplo:
 
Primero haces la función con java:    
Código Javascript
:
Ver originalfunction activar(selectTag) {
 
if(selectTag.value== 'otros') {
document.getElementById('otros_c').disabled = false;
} else {
document.getElementById('otros_c').disabled = true;
}
}
  
Esta función hace que, si seleccionas la opción con value "otros", el campo con id=otros_c se active. 
Ahora sólo resta crear el select y el input text:    
Suerte!