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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...