[Solved] JQuery files NOT working


You should download a copy for your local machine and use a newer version. Then you can create a fallback to your jQuery source:

<head>
    <meta charset="utf-8">
    <title>Super Mario!</title>
    <link rel="stylesheet" type="text/css" href="https://stackoverflow.com/questions/29851424/css.css"/>

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <script type="text/javascript">
    if (typeof jQuery == 'undefined') {
        document.write(unescape("%3Cscript src="path/to/jquery-1.11.2.min.js" type="text/javascript"%3E%3C/script%3E"));
    }
    </script>
    <script type="text/javascript" src="script.js"></script>
</head>

If the CDN fails this fallback will seek and load the local copy of jQuery.

13

solved JQuery files NOT working