Forums › Forums › Search & Filter Pro › Ajax integrate with other jQuery
Tagged: ajax
- This topic has 8 replies, 2 voices, and was last updated 5 years, 4 months ago by
Trevor.
Viewing 8 posts - 1 through 8 (of 8 total)
-
Trevor(Private) February 26, 2020 at 11:18 am #234921
After you have filtered using Ajax in our plugin, you can use the script snippet to call your other script:
<script>(function ( $ ) { "use strict"; $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ console.log("ajax complete"); // call your function here }); }(jQuery));</script>
Trevor(Private) February 26, 2020 at 1:18 pm #234952Not really, the code that I gave you, with you adding the other code to it, should do nothing, of course. Assuming you tested that and found that to be the case, you will need to seek the assistance of the author of the other code, as it may need modifying to work within another function.
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)