Wont fire code afther ajax filter

Forums › Forums › Search & Filter Pro › Wont fire code afther ajax filter

Tagged: , ,

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #218973

    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.

    Trevor
    #219002
    This reply has been marked as private.
Viewing 2 posts – 1 through 2 (of 2 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.