I want to know if a button with a link is clicked.
I know I can use onClick with a wix.to() but this isn’t reliable at all, so I rather set up links, but if I add an onClick event then the link won’t work.
I want to know if a button with a link is clicked.
I know I can use onClick with a wix.to() but this isn’t reliable at all, so I rather set up links, but if I add an onClick event then the link won’t work.
We do not recommend using code and linking/data binding (connection) etc at the same time on the same element as this may cause certain malfunctions in the work of the elements and inconsistency.
You would have to both track clicking and link your button via the code.