Initializing Collapse-O-Matic after AJAX call
-
i have a test page that is loading HTML after a selection is made with a drop down list. The data loaded includes the Collapse-O-Matic shortcode and I process that with the do_shortcode function. Once it is loaded the Collapse-O-Matic is not working since the DOM has changed. I have tried initializing Collapse-O-Matic once the HTML is loaded but this is not working here is the page with that uses AJAX:
https://dipy.alan.medinsight.org/en/research-test/
On this page you can see Collapse-O-Matic works when AJAX is not in use https://dipy.alan.medinsight.org/en/research/ but I need it to work with the filter on the research-test page.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Initializing Collapse-O-Matic after AJAX call’ is closed to new replies.