X Features Cars Demo Power Plants Demo State Parks Demo Site Showcase Docs Tutorials Add-ons Buy



This jQuery event gets triggered when FacetWP finishes refreshing. It’s triggered after a user interacts with a facet or pagination control. This event is useful for modifying facet output after being rendered.


(function($) {
    $(document).on('facetwp-loaded', function() {
        // Scroll to the top of the page after the page is refreshed
        $('html, body').animate({ scrollTop: 0 }, 500);

See ourĀ many examples on GitHub.