I have a jqery cdn download from the following:
<head> . . <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> </head>
then in the body there is my source for my script
<body> . .<script src="app.js"></script> </body>
This is all local, but when I browse in the browser, I keep getting the following errors in the console:
GET file://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js Uncaught ReferenceError: $ is not defined
I assume this suggests that the jQuery function "$ ..." is undefined, because there is an error in the GET CDN GET, why is this happening on the local?
source share