Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

159
Vistas
insertRow is not a function
function create_table(id){
var table = document.getElementById(id);
var rowCount = table.rows.length;
var row = table.insertRow(rowCount); 

var cell0 = row.insertCell(0);  
    var element1 = document.createElement("input");  
    element1.style.backgroundColor = "#DDDDDD";


    element1.setAttribute("type","text");
    element1.setAttribute("size","1");
    element1.setAttribute("name",seq);
    element1.setAttribute("id",seq);
    
    element1.setAttribute("value",val_sq );

    element1.setAttribute("readOnly","true");

    cell1.appendChild(element1);
}

If I call this function it shows TypeError: insertRow is not a function. I tried to get some answers from search engine.But no use. Please help me to find out

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda