Made a new Search and it doesn't works.

Forums › Forums › Search & Filter Pro › Made a new Search and it doesn't works.

Viewing 8 posts – 21 through 28 (of 28 total)
  • Anonymous
    #33771

    Youre the best !!!!
    Just finished everything and its SUPER !!!

    Thank you very much !

    Anonymous
    #34429
    This reply has been marked as private.
    Ross Moderator
    #34431
    This reply has been marked as private.
    Anonymous
    #34432
    This reply has been marked as private.
    Ross Moderator
    #34525

    Hey Idan

    But do you see, in the console, that “ajax start” and “ajax finish” is being logged?

    When I looked, I saw these events being fired at the correct time.

    This means the ajax, and S&F events are working just fine.

    There must be something with the way you are loading your other scripts on those events…?

    The example I linked above is now gone, so unfortunately I cannot check anything.

    Thanks

    Anonymous
    #34657
    This reply has been marked as private.
    Anonymous
    #34926

    Hi Ross, are there any news?

    Ross Moderator
    #34958

    Hey Idan

    I don’t really know what to suggest.

    If the events are firing correctly, and at the right time, there must be some other implementation issue.

    As a test, replace you ajax complete code with this instead:

    $(document).on("sf:ajaxfinish", ".searchandfilter", function(e, data){
    	
    	console.log("ajax complete");
    	console.log(data.targetSelector);
    	
    	$(data.targetSelector).find("a").css("color", "#f00");
    	$(data.targetSelector).find("a").css("background-color", "#f00");
    	
    	//so load your lightbox or JS scripts here again
    });

    When ajax has finished loading, it should colour all your hyperlinks (in the results area) a red color.

    If this happens, then S&F is working fine, the results are loaded via ajax, then, after the results loaded the events are fired and the text colour is updated.

    Thanks

Viewing 8 posts – 21 through 28 (of 28 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.