![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/11/2008, 12:10
|
| | Fecha de Ingreso: julio-2008
Mensajes: 88
Antigüedad: 16 años, 7 meses Puntos: 0 | |
Respuesta: eliminar un tr de un table function AgregarTR()
{
var table =document.getElementById("ctl07_tableRepeat");
if (!table)
{
alert("El elemento selecionado no existe");
}
else
{
var tr = document.getElementById("ctl07_trAgregar");
var tr_new = tr.cloneNode(true);
table.addChild(tr_new);
}
}
ahi lo probé y no me deja hacer table.addChild, como tengo que agregarle el tr clonado? |