Sauter la navigation

[Résolu] Split: The search form isn't working as expected – reset button not working in accordion

This support ticket is created Il y a 1 année et 1 mois. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 année et 1 mois.

Assisté par: Minesh.

Auteur
Publications
#2680035

There is also an issue with the reset button, that this not really does anything.

And I am not sure, but what do I need to set, if the search results should show, not only when click on the search button? I think Ajax something?

#2680036

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I've added the following custom JS code to your view's "Search and Pagination" JS editor:

jQuery(document).ready(function($){
  
  $(".js-wpv-reset-trigger").click(function(){
    window.location.href = window.location.pathname;
 
});

});

Can you please confirm reset button is working now.

#2680043

The reset button is working with this javascript.