Jump to content

jQuery Not Loading With Recent jQuery Releases


Recommended Posts

Dear all:
I am linking jQuery from the internet as well as linking a local js file. Both the code and js file content are shown below. To test if it is loading or not, the alert function is used. Despite having a jQuery release 2.1.4 already, it loads with release 1.7.1 or earlier only. Why is it not loading with subsequent releases?
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<script src="http://google.com/jsapi"></script>
<script src="js/scripts.js"></script>
google.setOnLoadCallback(function(){alert('Loaded!'); });


Link to comment
Share on other sites

Yes. It loads with version 1.7.1 or earlier only, and I inserted this particular version in the code to enable anybody testing the code to see it loading, whereas increasing said version results in no load. Why is it so?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...