Skip Navigation

[Resolved] Pagination by Ajax triggeres all Ajax on page

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 5 replies, has 2 voices.

Last updated by maxineM 6 years, 6 months ago.

Assisted by: Nigel.

Author
Posts
#1071274

Im trying to create a search view page with pagination on the results, the pagination works but when its triggered it triggers all ajax action on the page as well, is there a way i can create a button to only call that ajax action? or stop it from triggering the rest of the ajax actions on that page.

#1071430

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Maxine

That doesn't sound right, if you click pagination controls they shouldn't only affect the View to which they belong.

Can you show me the page where this happens? What are the rest of the ajax actions on the page?

Can you describe/show how you have built the page?

#1071516

Please see link, apologies thought i have attached the link.
hidden link
once you click the load more button or scroll youll ll see the effect it has on the page.

#1072462

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I can't see how you've built the page so I don't really know what's happening.

Can I get access to look at it on the backend?

I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any changes.

#1072502

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Maxine

The page in question contains the View "Budget Search", but there is so much customisation with that View that I don't even know where to start looking.

You have added a lot of custom JavaScript to the page, and it is a JavaScript-related problem.

I'm sorry to say that debugging custom code is outside of our support policy, and I don't think there is much I can to do to help you with this.

#1072507

Thank Nigel, I understand.