- This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
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 › Modal won't fire when loaded via Ajax.
When using Ajax to refresh the page, it will strip the modal code from the posts. It would need to be reapplied. We have the necessary javascript code to prepare to fire that reapplication, but you would need to get from Zurb the actual function or code that you need to run within our code:
<script>(function ( $ ) {
"use strict";
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
console.log("ajax complete");
// so load your modal scripts/function here again
});
}(jQuery));</script>