Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/05/2013, 18:41
Anarko
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 2 meses
Puntos: 22
Respuesta: TRUCASO para capturar este innerHTML: <!-- <div id="fin">datos y + datos..

Cita:
Iniciado por NUCKLEAR Ver Mensaje
no entendí
Gracias por tu interes Nuklear.

Necesito hacer esto dentro de una simple página HTML:
Código:
...código html...
...código html...
...código html...
<!-- comentario id="uno" necesito capturar este innerHTML -->
...código html...
...código html...
...código html...
<script>
	var elid1;
	elid1=document.getElementById('uno').innerHTML;
	alert(elid1);
</script>
...código html...
...código html...
...código html...
Poder hacerlo sería un TRUCASO!, lo intento e intento y no funciona ESE tradicional JavaScript.