Load after ajax
-
Hi
I am moving some stuff around in a div using a javascript snippet
On the page I also have a AJAX filter to jump between categories. After using the ajax I need to trigger the snippet again somehow, something along these lines perhaps?
add_action( 'wp_head', function () { ?> <script> $.ajaxComplete(function () { // Somehow trigger the other JS snippet again after AJAX. }); </script> <?php } );
Thanks for any help
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Load after ajax’ is closed to new replies.