© Sarah Martin 2017

Sarah Martin, The Definitive Guide to Squarespace, https://doi.org/10.1007/978-1-4842-2937-8_7

7. AJAX and AJAX Enabled Templates

Sarah Martin

(1)Humble, Texas, USA

In this chapter we will explore AJAX and how it is used in Squarespace templates. AJAX is a common source of confusion among novice web developers. The scenario usually goes like this: The web developer has added custom code to a particular page in the site. The customization looks great when the browser is refreshed. However, when navigating between pages the customization no longer works, or worse, the customization now runs on the wrong page altogether. What happened? The answer lies in understanding how AJAX is used in Squarespace templates.

What Is AJAX

First of ...

Get The Definitive Guide to Squarespace: Learn to Deliver Custom, Professional Web Experiences for Yourself and Your Clients now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.