Hi every one! Can some one help me FAQ page issue? The problem is that first FAQ section work perfect but on the second FAQ section I can not open questions and if I click on the question it just starts twitching. Here is the link on the video illustration: https://www.loom.com/share/769b683b46aa483b845daf87916df5bc?sid=4d694778-e139-4779-a62b-a2d103a062df .
Topic summary
- Issue: The first FAQ section works correctly, but the second FAQ section’s questions won’t open; clicking causes a visible “twitching” effect.
- Evidence: A Loom video link is provided and is central for seeing the behavior.
- Likely cause: The JavaScript controlling the FAQ/accordion behavior isn’t written to handle multiple instances/elements, leading to conflicts in the second section.
- Recommendation: Refactor the JavaScript to support multiple elements (e.g., scoping selectors, unique IDs, event delegation). One participant advises hiring a developer to fix the code.
- Status: Unresolved. No code changes or confirmations of a fix were shared; the thread currently has a diagnosis and a recommendation but no solution outcome.
1 Like
Hi @George1611
This happens when javascript code is not written to be use in multiple elements. I would recommend to hire someone to fix the javascript code
1 Like