Jump to content

Only 1 of Multiple Code Blocks on 1 Page Working

Recommended Posts

Posted

I have two javascript based calculators on 1 page of my site, and I have tested both and they work normally on my machine but when I upload them into two different code blocks on the same page, only the first one works, and the other immediately throws the error I included in the script.

Can we not run two different code blocks on the same page? I've tried putting the code blocks in the same section and different ones, and that doesn't seem to help.

Here is the page link if someone would like to try it: https://www.bowtie.social/conversion-rate-calculator

  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.