I bought an audio player plugin for WordPress so I can run a playlist by clicking a button. I was told to paste the jquery script under Button Settings > Advanced > JavaScript. When I click the button, though, the page just refreshes. I think this is because I have nothing in General > Link since I’m not trying to go to a different page.
I came across a post from 2019 (link below) called “Running a script in response to onclick()” but when I get to step 3. Enter JavaScript: void(0); into link field of button module, I get an error that says the following:
“Something you entered has triggered a 403 error.
This is nearly always due to mod_security settings from your hosting provider.
See this Knowledge Base article for more info.”
Do I have to change the security settings somehow or am I supposed to go in a different direction to achieve my goal? Any help anyone could provide would be greatly appreciated.
Thanks!
Brian
This is the 2019 post I mentioned earlier.