Jump to content

Help with HTML Code

Recommended Posts

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

Hi!

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.  

image.jpeg.d90f107b2f1ec447f25719b9df9bed7a.jpeg

this is a screen shot after page refesh.

image.jpeg.f9f787797bfc18356599c5a402b057e1.jpeg

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?

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

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.