Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/08/2007, 03:41
marcospuig
 
Fecha de Ingreso: febrero-2007
Mensajes: 138
Antigüedad: 18 años, 1 mes
Puntos: 0
Re: Insertar espacio en javascript

pero esto:

Código:
  txt = document.createTextNode('Nombre: ');			//Creamos el nombre del participante
  ele = document.createElement('input'); 
  ele.type = 'text'; 
  ele.size='40';
  ele.name = 'cNombrePart'+numParticipante; 
  contenedor.appendChild(txt);
  contenedor.appendChild(ele); 
  
  espacio = document.createTextNode('        ');
  contenedor.appendChild(espacio);

													//Creamos la fecha de finalización del curso
  txt = document.createTextNode('Parentesco: ');
  ele = document.createElement('input'); 
  ele.type = 'text'; 
  ele.name = 'cParentesco'+numParticipante; 
  contenedor.appendChild(txt);
  contenedor.appendChild(ele);
No me funciona