Jump to content

Help with HTML Code

Recommended Posts

Site URL: https://www.travelsandtreasures.com/home/2022/finding-an-apartment


I wrote a blog post and added code that does a calculation based on two inputs -- monthly salary and selected %. 

On first load, I can input a number and move the slider, but nothing happens.  On reload, everything works.

I've searched Google for ideas on why, but can't figure out the issue.  

Any insight and help is greatly appreciated.  


this is a screen shot after page refesh.


Edited by TTaylor
Link to comment
2 hours ago, TTaylor said:

On reload, everything works.

This is a Brine-family website with Ajax enabled so it's likely to be caused by this feature. Please see my guide, Why does Squarespace code only work on refresh?

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.