popsovy Posted July 18, 2019 Share Posted July 18, 2019 I am developer, new to Squarespace. Need to add functionality to an existing form -- some advanced validation, call an API. Was going to use jQuery (I know I can add it to Squarespace) but then ran into JavaScript provided by Squarespace that looked like that -- Y.use('squarespace-form-submit', 'node',.... What is that Y. ? Looks like a JavaScript framework. I was wondering what it is -- perhaps, I don't need to add jQuery and use the framework that comes with Squarespace. Thanks. Link to comment
Jo_SQSP Posted July 18, 2019 Share Posted July 18, 2019 @popsovy -- it's YUI, a JS framework Yahoo used to maintain: https://yuilibrary.com/ It's no longer updated, but a lot of Squarespace is built on it and you'll see 'yui' a lot in classes/ids in your page source. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.