I have this div in my HTML:
Changes made:
and I'm going through a Javascript object, and I want to add some rows with the content of the Object, which is dynamic, the code I have is the following:
function pedirDatosTexto(ct){
var cam= JSON.parse(ct);
$.each(cam.cambios, function(x, it) {
var nombreTarjeta= it.nameCard;
var nombreLista= it.nameList;
var nombreListaNueva= it.nameListCambiada;
var tableObj = document.getElementById(tablaRes);
var celda= '" "nombreTarjeta+ " : "+ nombreLista+" Cambia a"+nombreListaNueva+" "';
});
};