The jQuery, jQuery UI and Google Maps can be loaded from Google's CDN in two ways - either by using google.load():
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1");
google.load("jqueryui", "1");
google.load("maps", "3", {other_params: "language=de&sensor=false"});
</script>
or by using the static <script src="..."> tags:
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false&language=de"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
Is there please the 2nd way available for the Google charts API as well?
For me only this method works:
<script type="text/javascript">
google.load('visualization', '1.0', {'packages':['corechart']});
</script>
but I can not find the URL for the 2nd way.
And I would prefer to include the Google charts API statically because it looks more straightforward to me and because of my current problem with DataTables.net.
When I look at the resources using the Google Chrome console, I can see the address like
but I think it is a temporary one, which can expire...
<script type="text/javascript" src="uds_api_contents.js"></script>
and yeah you can get that file from here gist.githubusercontent.com/makevoid/3999915/raw/… Include this file afterjsapi
. – Barbosa