Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/03/2007, 17:44
daniel00
 
Fecha de Ingreso: noviembre-2006
Ubicación: México
Mensajes: 866
Antigüedad: 18 años, 4 meses
Puntos: 8
Re: funcion añadir

Que tal franjgg.

A ver prueba con la siguiente función:

Código:
function addRow()
  {
  var myRow=document.getElementById('myTable').insertRow(0)
  var myCell1=myRow.insertCell(0)
  var myCell2=myRow.insertCell(1)
  myCell1.innerHTML="myCell1"
  myCell2.innerHTML="myCell2"
  }
Saludos y suerte!!