Forums Forums Search & Filter Pro AJAX-enabled search interferes with jquery

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #63093

    Screencast of error: https://cl.ly/3g1c3z3V3s0b

    This doesn’t happen if AJAX search is turned off. Using CPT archive, otherwise everything is working as expected.

    Trevor
    #63095

    That is suggestive of multiple versions of jquery loading. Check the page source to what is being loaded. If it is a recent version of WordPress, you should see jQuery 1.12.4 being loaded, and nothing earlier than that.

    Anonymous
    #63097

    Only one version of jquery (1.12.4) is loaded, along with jQuery Migrate v1.4.1, with ajax both on and off.

    Trevor
    #63203
    This reply has been marked as private.
    Anonymous
    #63362
    This reply has been marked as private.
    Trevor
    #63382

    I suspect that you need to reload a script that loads when the document opens, but isn’t being reloaded after our ajax is triggered. See the FAQ page and the exemplar scripts shown there – probably the second one. The same block of code shows an example of how to integrate that code into its own script.

    https://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

Viewing 6 posts - 1 through 6 (of 6 total)