[Resolved] JS event listener for change in a parametric search
This support ticket is created 5 years 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do?
I have a masonry grid in a view - the size of the elements are updated using javascript to give the masonry effect. I have event listeners to run this code onload and when the screen is resized.
However they don't resize when the page is refreshed by ajax for a change in a search parameter. Is there a way add a listener for the update to parametric search?
On a connected note, the image I have in the loop doesn't display after the ajax refresh either.
Is there any documentation that you are following? No
Is there a similar example that we can see? Not that I know of
What is the link to your site? hidden link but you will need to be logged in to view.
Actually you can ignore the second part "On a connected note, the image I have in the loop doesn't display after the ajax refresh either". The image doesn't display if I use a custom size, but if I use a standard size it does.