Adicionar fila

function insertarFila(nroLegajo, nombreJefe, nroFila) { var table = document.getElementById("tbUsuariosDisponibles"); var row = table.insertRow(nroFila); var cell1 = row.insertCell(0); var cell2 = row.insertCell(1); cell1.innerHTML = nroLegajo; cell2.innerHTML = nombreJefe; row.setAttribute('onclick', 'seleccionarFila(this)'); }
Inserción de una fila de forma comprensible a través de java script

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.