- This topic has 1 reply, 2 voices, and was last updated 6 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 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 › Wont fire code afther ajax filter
I want the follow code be executed after the filter is changed.
but i dont get anny responce from the ajax call
$(document).on(“sf:ajaxformfinish”, “.searchandfilter”, function(){
alert(“ajax stop”);
if ( $(‘.sf-field-post-meta-soort option’).val() == “Eengezinswoning” ) {
$(‘.woningoverzicht .appartement’).hide();
}
if ( $(‘.sf-field-post-meta-soort option’).val() == “Appartement” ) {
$(‘.woningoverzicht .eengezinswoning’).hide();
}
});
Also tryed it with ajaComplete, ajaxformfinish, ajaxfinish
but my alert wont even trigger.