Support Forums

Looking for support? You can access the support system via your account.

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

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • fronttaal
    #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 Moderator
    #219002
    This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.