Support Forums

The forums are closed and will be removed when we launch our new site.

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

Forums Forums Search & Filter Pro Ajax loading pages breaks filter

Viewing 4 posts - 11 through 14 (of 14 total)
  • Trevor Moderator
    #107790
    This reply has been marked as private.
    Graeme Boyes
    #107793
    This reply has been marked as private.
    Ross Moderator
    #107909

    Hey Graeme

    To initialise S&F dynamically, you could do:

    $('.searchandfilter').searchAndFilter();

    To remove S&F (which you may need to do if elements get reloaded, pehaps before the page is changed), your best bet is to use:

    $('.searchandfilter').off();

    Just be sure that the JavaScript you load, has a dependency for our S&F script ('search-filter-plugin-build'), or at least load it very late in your page, so that its called in the correct order.

    Let me know how you get on.

    Best

    Graeme Boyes
    #107913

    Ross/Trevor – you guys rock. Thank you for the great support. `$(‘.searchandfilter’).searchAndFilter();

    That did the trick.

Viewing 4 posts - 11 through 14 (of 14 total)

The topic ‘Ajax loading pages breaks filter’ is closed to new replies.