Corbs answer


Error Message

Cross-Origin Read Blocking (CORB) blocked cross-origin response with MIME type text/html.

Other Information

        method: 'POST',
        url: 'servicios_img.php', 
        data: {peticion: "traer_imagenes"}, 
    }).done(function(resu) {
        $.each( resu , function(key, value){ 
                "<section onclick=InfoServPaq('Servicio_"+ value.id_servicio+"') id='Servicio_"+ value.id_servicio+"'>" +
                    "<a>"+ value.ser_titulo +"</a>" +
            document.getElementById('Servicio_'+ value.id_servicio).style.backgroundImage = "url('img/" + value.ser_source_principal + "')"; 

No error encountered…

Like the error message says, you’re sending ajax request to a file which doesn’t exist.
To me it works. Still having issues?

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.