Saltar navegación

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

This support ticket is created hace 1 año, 1 mes. 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)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh hace 1 año, 1 mes.

Asistido por: Minesh.

Autor
Mensajes
#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

Idiomas: Inglés (English )

Zona horaria: 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.