{
if (form_name.select_name.options[form_name.select_name.selectedIndex].text == 'identificador')
{
form_name.caja_de_texto_name.style.visibility = 'visible';
}
else
{
form_name.caja_de_texto_name.visibility = 'hidden';
form_name.caja_de_texto_name.value = '';
}
}
Ahora póngale la propiedad visibility en "hidden" al TextBox
input name="caja_de_texto_name" type="text" id="caja_de_texto_name" style="visibility:hidden"
Luego en el evento OnChange del SELECT se invoca a la función
select name="select_name" id="select_name" onChange="HabilitarCombo()"