Ok si me estaba equivocando mucho , peor gracias ya quedo bien.
Código html:
Ver original
function foco1(){
var chek = document.formulario.chkbx1
if (chek.checked == true) {
document.formulario.eva.disabled = false;
document.formulario.eva.focus();
}else{
document.formulario.eva.value="";
document.formulario.eva.disabled
}
}
<input type="checkbox" name="chkbx1" onClick="foco1()" /> <input type="text" name="eva" disabled />
saludos!