I have installed third-party module Infinite scroll for the lazy load(Lof_Ajaxscroll).
The problem I am facing is Once the page loads new HTML content is generated from ajax. So add to cart is not working at that time. It refreshes the page and adding.
I need to add the product without refreshing.
I checked with extension provider, They are asking to re-init the add to cart inside the response.
My question is How can I re-init the add to cart function inside the ajax response?
Tried below solution but that didn't work in my case.
Need to Initialization js after ajax response magento 2
Can anyone suggest me, please...