¿Necesitas 5 checkbox con cada text invisible? Entonces es igual.
Código HTML:
Ver original<input type='checkbox' id='chk' onclick='texto(this.id, "caja");' /> <input type='text' id='caja' style='display:none;' /><br /> <input type='checkbox' id='chk2' onclick='texto(this.id, "caja2");' /> <input type='text' id='caja2' style='display:none;' /><br /> <input type='checkbox' id='chk3' onclick='texto(this.id, "caja3");' /> <input type='text' id='caja3' style='display:none;' /><br /> <input type='checkbox' id='chk4' onclick='texto(this.id, "caja4");' /> <input type='text' id='caja4' style='display:none;' /><br /> <input type='checkbox' id='chk5' onclick='texto(this.id, "caja5");' /> <input type='text' id='caja5' style='display:none;' /><br />
Saludos (: