Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Update jQuery Script

3:57 pm on Feb 7, 2018 (gmt 0)

Junior Member

Top Contributors Of The Month

joined:Dec 2, 2017
posts: 44
votes: 1

Can links to jQuery scripts be easily updated by changing to the link for the updated script?

I'm using a purchased template. When I performed a Chrome / Lighthouse audit I received a message stating that my site uses an outdated script with security vulnerabilities. Should I just link to the new version of the script? The script is:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>

I would update it to:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> (Lighthouse recommends the 3.3.1 version)

4:06 pm on Feb 7, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member Top Contributors Of The Month

joined:Apr 1, 2016
votes: 579


It really depends on what it is being used for. There may be some compatibility issues. If you are using it for the most common commands there should be no issue but if you are using some more complex commands then you may run into problems. The correct way to check would be to review your code, see what is being used then review the change history and see if there is an impact. But my guess, given:
I'm using a purchased template.

Is that you have little or no coding experience. So then the only way to see is to try it. Replace the line in the template and try it. If it works great, if not well you've got an issue.

Be sure to make a back up so that if you run into an issue you can revert back to the old version.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members