Good morning, I have not been able to upload a project since it marks me an error in the innerHTML
.php
var cell0= row.insertCell(0);
var folio = data['datos_tabla'][index]['descripcion'];
cell0.innerHTML ='<td bgcolor="blue" align="center"><a href="#" title="Elegir concepto" onclick="javascript:return conceptos_erp()" >'+folio+'</a></td>';
And in the JS according to I have everything right I hope you help me here I leave you the
: JS
function conceptos_erp()
{
document.getElementById("ayuda").innerHTML="";
var det=$("#ayuda").dialog({modal: true});
det.html('<div align="center">Cargando Datos ...<images src="img/loading.gif"/></div>');
det.dialog({position: "top"});
det.load("conceptos_erp.php");
det.dialog(
{
title:'Catalogo de Conceptos',
buttons:{
"Cerrar": function()
{
//$(this).dialog("close");
det.dialog('close');
$("#mail").focus();
}
},
width:530,
height:400
});
det.dialog('open');
}
I hope you can help me and guide, greetings