- This topic has 16 replies, 2 voices, and was last updated 7 years, 6 months ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Support implementing
The lightbox script, which applies the necessary javascript to open the lightbox needs to be run/triggered again after our ajax has been run.
The basic javascript for triggering functions like this again looks like this:
<script>(function ( $ ) {
"use strict";
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
console.log("ajax complete");
// so load your lightbox or JS scripts here again
});
}(jQuery));</script>
The actual function and usage will depend on the lightbox plugin or theme you are using.