Forums Forums Search & Filter Pro Ajax not working in the first search

Tagged: 

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #37007

    Hi Ross,

    In my website, Ajax feature not working in the first search. After the selection of the first search item field, the system working as normal with page refresh, thereafter ajax working fine. Moreover when I click All Cities, system not loading all the listings.

    Please look in to this and give me solution asap.

    Regards
    Faas

    Ross Moderator
    #37164

    Do you have a link?

    Thanks

    Anonymous
    #37337
    This reply has been marked as private.
    Ross Moderator
    #37489
    This reply has been marked as private.
    Anonymous
    #38762
    This reply has been marked as private.
    Anonymous
    #38785

    Hi Ross
    Having the same problem here also – Big problem with my client!! Need a resolution soon if possible
    Phil

    Anonymous
    #38786

    I have had to disable Ajax for the moment as it simply does not function correctly.
    But would appreciate any feedback. My customer is in Singapore so anytime during the day after 10am would be a good time to test/resolve if that is possible. It’s been working fine for months!!

    Ross Moderator
    #38815

    Hey Philip

    Can you open a new ticket, and follow up on that with a private reply &link?

    Thanks

    Anonymous
    #39053

    I need to resolve the issue asap.
    please do the needful

    Ross Moderator
    #39065

    Faas

    I see your issue – basically after the new content is loaded in, your javascript is not re-initialised, like it would be on page load/refresh – please see this recent reply:

    https://support.searchandfilter.com/forums/topic/page-reloads-after-filtering-results/#post-38556

    Absolutely.

    The issue here that you are using Ajax.

    IF you disable ajax, the compare button will work as normal?

    This is because, when an ajax search is submitted, new HTML/results are fetched and loaded in.

    But, the Javascript for your compare button does not get applied to this new html/elements.

    To get around this we provide a JS event, which tells you when the ajax request has completed, and then you can load / reload your javascript again for functionality like this.

    Please see hte first question on the FAQs – https://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

    Thanks

Viewing 10 posts - 1 through 10 (of 12 total)