Hi, I want to run a script when I click on a button
It doesn’t do anything when I click on mute/unmute icon. what’s wrong with this code?
Main issue: A mute/unmute button click is supposed to run a script, but nothing happens.
Context: Store Design > customizations, HTML. The user wants a click-triggered script for a mute/unmute icon.
Details provided: The post references a code block, but the markup/script shown is empty in the message. The central code needed to diagnose the problem is missing.
Current status: No solutions or troubleshooting steps appear. No opposing views or additional inputs. The discussion remains unresolved.
Key gaps blocking progress:
Action needed: Share the complete code (HTML for the button/icon and the JS handling click/mute state), any console errors, and where/how the script is included to enable diagnosis.
Hi, I want to run a script when I click on a button
It doesn’t do anything when I click on mute/unmute icon. what’s wrong with this code?