Jump to content

script has stopped working

Go to solution Solved by creedon,

Recommended Posts

Hello.  I've had a motorcycle gearing calculator on my website for years, but just recently discovered that it isn't working anymore...even though I haven't touched it.  The calculator normally accepts 4 input values and then automatically calculates the overall gear ratio.

Oddly enough, when I run the code on online HTML testers, it still works great on some testers (but not all).   

Any ideas?  I'm just a motorcycle guy, and a lot of this is over my head.


Thanks in advance,


Edited by maindrive
added URL
Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

Someone has removed jQuery which the calculator code depends on.

Add the following to Website > Pages > Website Tools > Code Injection > HEADER.

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

This is the latest version of jQuery. It is possible that the calculator code depended on features that were in an older version of jQuery. If the calculator still doesn't work this might be the reason.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

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

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.