0

A set of buttons is no longer working and I can't work out why.

The site is using Joomla and SP Page Builder Pro.

There are 3 buttons that when clicked will change the price table. However these no longer work and there's no errors in the console.

If I enter the function name into the console, the script will trigger and change the table.

Debugging steps: Updated Joomla
Disabled non required plugins
Cleared cache
Checked code is being loaded
Checked for java conflicts

Many thanks

  • Your site is taking so long to load :/ – Lodder May 14 at 12:59
0

The problem is that your buttons are using the on-click attribute, which isn't valid. You need to use onclick instead.

Replace:

on-click="tripleCoverDlFold1()"

with:

onclick="tripleCoverDlFold1()"
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.