Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/12/2004, 05:59
rubenASP
 
Fecha de Ingreso: diciembre-2004
Mensajes: 68
Antigüedad: 20 años, 1 mes
Puntos: 0
getElementById

Holas!!!

Porque lo siguiente no me funciona????

en un script:
---------------------------------------------------------------
function cambiar_texto(){
document.getElementById("MI_TEXTO").innerText="Hol a";
}
---------------------------------------------------------------
en la pagina .asp

<a href="#" onClick="cambiar_texto(); return false" >
<img src="imagen1.gif"></a>

<tr>
<td><p id="MI_TEXTO"> </p></td>
</tr>


Alguien lo sabe?????????????????????'