- This topic has 4 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Ajax Issues
Tagged: ajax
Hi Support:
Two issues —
1) When the search page tries to reload search query with AJAX, the AJAX fades the page as if reloading, but stays faded without updating results. The console is printing this error:
TypeError: n.$ajax_results_container.find(…).searchAndFilter is not a function
VIDEO: http://recordit.co/R8k4bRdUgx
2) Once the plugin is activated on the site, at first, the site loads fine. But, the longer the plugin is activated, the slower the site gets. It eventually gets to where it takes 20 – 30 seconds for a page to load, and i have to deactivate the plugin.
I think I can see one issue. Your results are a series or <article> containers, but they are not inside an overall results/ajax container.
Your form has the Ajax container set to #main, but that contains the form and other stuff. Add a contaner, with a class like results-container, and then make the Ajax Container setting in the form design the same (.results-container).