Hi.
I have a “Wishlist” table component in the top widget bar. It displays all the user’s saved searches. Problem i have is that the user needs to refresh the page to see the latest saved search addition.
Now, my solution was to put a button there saying “Sync Saved” with an href="".
This refreshes page and updates saved searches in widget area no problems. But the issue is that it closes the widget area, so user has to repoen it.
Thats no big deal for us, but will be confusing for them.
Request:
I have seen forum topics where you can use jquery to create a hyperlink anywhere on the page or nav menu that opens a widget area.
Basically, i want that jquery hyperlink to be in the widget area.
Is there a jquery i can put in customizer that when you hit the “Sync Searches” button (inside header widget), it refreshes page then reopens the widget area?
I have added a class for the button…
<a class=“wishlist_reload_button”
Please see screenshot for what i mean.
Thanks in advance for your help.
Max