Questions tagged [initialize-script]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
4 answers
11k views

Need to Initialization js after ajax response magento 2

I am working on ajaxscroll product but when i got response below script not initialize <script type="text/x-magento-init"> { "[data-role=tocart-form], .form.map.checkout": {...
Prashant Valanda's user avatar
1 vote
1 answer
1k views

How to re init ajax add to cart inside the response in magento2

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 ...
Jafar Pinjar's user avatar
  • 1,929