ReferenceError: Highcharts is not defined

0

You will see I have a menu which when you give click to any of the items, you run a ajax function

<a href="#" onclick="influencia();"><strong>Influencia</strong> <span class="icon-dot"></span></a>'

esta es la función ajax

'function influencia(){
    $.ajax({
        url : "opc_menu/programas/influencia.php",
        dataType : "text",
        success : function(data) {
            $("#contenedor").html(data);
            //Id del contenedor para mostrar el archivo
        }
    });
}
}

The address to influence.php has to show me a page in which you can find graphics made with highcharts.

I will have conflicts with the functions. I already did a test called the file influences.php using the address <a href="opc_menu/programas/influencia.php"><a/> and it works, but with the ajax functions no.

Here I select an option without highcharts and it does not give me an error and it shows me the content

here when selecting influence.php that has the highchars library gives me these errors

Already check a thousand times if the link and the script are well routed and if they are. Please help.

    
asked by Julio Flores 17.05.2017 в 18:55
source

1 answer

0

If it were some problem of order of the js because I gave equal error to access my file by l url ... the problem comes from the menu and the function ajax. Thanks for the reply.

    
answered by 18.05.2017 в 02:14