Hello Webflow Community,
I am trying to incorporate using AJAX to populate a popup DIV for a modal popup from content from a CMS-generated webpage.
Here is the homepage where the testimonials will live: geauxfresh.webflow.io – scroll down to the “Client Testimonials” section and view/click on each testimonial so you can see what I’m trying to do.
Here is some sample content that I want to load into the popup DIV: http://geauxfresh.webflow.io/testimonials/linda-vaccaro-reed. I’m trying to grab all of the content from “testimonial-source-div” that’s located in that webpage and load it into the popup on my homepage: http://geauxfresh.webflow.io into the “testimonial-target-div” popup DIV.
I also need some way to store the testimonial URL (from the CMS database) into a element so the script can reference this URL and load the correct testimonial into the popup DIV.
Can you point me to some “Using AJAX with Webflow and pulling from the CMS-generated webpages” examples?