Ver Mensaje Individual
  #9 (permalink)  
Antiguo 01/08/2010, 17:40
Avatar de humanista
humanista
 
Fecha de Ingreso: abril-2005
Mensajes: 878
Antigüedad: 19 años
Puntos: 15
Respuesta: colocar texto con appendChild

buff, si tengo q copiar/pegar todas las pruebas q estoy haciendo lo mismo colapso el servidor pero la q más creo q debería funcionar es esta:

Código Javascript:
Ver original
  1. divresultados = document.getElementById('resultados');
  2.        
  3.             contenedor = document.createElement('div');
  4.             document.body.appendChild(contenedor);
  5.            
  6.             texto = document.createElement('div');
  7.             texto.innerHTML = newcomment;
  8.             divresultados.contenedor.appendChild(texto);

pero nada... :(