Forums › Forums › Search & Filter Pro › Using Ajax correctly?
- This topic has 7 replies, 2 voices, and was last updated 10 years, 7 months ago by
Ross.
-
Ross Moderator(Private) February 2, 2015 at 11:00 pm #11309
Hi Jade can you send me a link?
If you are using ajax you shouldn’t be seeing a page refresh, however if the filter does refresh then it may be because your filter is inside the Ajax Results Container.
Thanks
Anonymous(Private) February 3, 2015 at 10:56 pm #11398Just checking to see if you had a chance to take a peek at the page. I wasn’t sure after I wrote if you were with DesignsAndCode or someone who just happened to catch my post. I’m just trying to make sure I at least have the AJAX settings correct. Always want to start with the simplest thing first before trying to dig into code.
Ross Moderator(Private) February 3, 2015 at 11:15 pm #11400I had this ticket open in my browser and was about to take a look!
Basically, it seems like you have a couple of problems (almost there).
Firstly, you have some JavaScript errors in your console. Take a look using something like firebug and see, but you have JavaScript errors on that page (and probably others) throughout the site.
When there is a JavaScript error, this sometimes prevents other JavaScript from running – such as the S&F Ajax. So the errors you have must be fixed first – otherwise this will be near impossible to resolve. If for now this means disabling some plugins I would suggest to do that – even just to see if this is really the issue.
Secondly, it appears your Ajax Results Container may be wrong – it is set to the default
#content
but this really is a theme dependent setting – from looking at your code I’m guessing it should be something likemain.content
.Let me know when you managed to fix or disable plugins that were causing your JS errors and we can move on to the next step (this may actually resolve your issues).
Thanks
-
AuthorPosts