Forums Forums Search & Filter Pro Ajax event listeners not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #216210

    split by @trevorsf from https://support.searchandfilter.com/forums/topic/ajax-event-listeners-not-working/

    Hey, I currently seem to have the same problem but can’t see the private responses. What was/is the solution for this? Thank you.

    Trevor
    #216228

    It is possible that your circumstances are different, so you may need to explain in detail what you are doing. However, in the other thread ….

    The form (which was using the Post Type Archive/WooCommerce display results method) the other user made had only one taxonomy field on it, and they had set it to ‘Enable Filtering on Taxonomy Archives’, so selecting one of the taxonomy terms caused the page to re-direct to that taxonomy term archive page. Thus Ajax will never fire ajaxfinish or ajaxstart.

    Similarly, ajaxformstart and ajaxformfinish only fire if Auto Count is enabled (both options), which they were not, and also they only fire if there are two or more fields that the count can be updated upon, which there were not.

    Trevor
    #216301

    An additional bit of information. The other thread was resolved. It had happened because the user’s site had two different jQuery libraries included – WordPress default (1.12.4 version) and the 3.x version. After removing one of these the events started working fine.

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