Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/09/2005, 19:31
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 9 meses
Puntos: 39
Amigo, asi funciona en cualquier browser:

Código HTML:
function AddRowsToTable()
{
var tbl = document.getElementById('tblSample');
var lastRow = tbl.rows.length;
var row = tbl.insertRow(lastRow);
var cellRight = row.insertCell(0);
cellRight.innerHTML="<input type='text' name='answers[]' id='answers' class='txtBoxStyle3' size='38'><a hre='#' onClick='DeleteRow(this)'> <img src='../Imagen/Examen_gif/del.gif' border='0'></a> <input type='radio' name='correcto' id='correcto'>";
}
Chequea esta funcion por si acaso: cloneNode().

Última edición por flaviovich; 08/09/2005 a las 19:32 Razón: Me equivoque de funcion