OnClick with URLs on Mobile

Hello,

If I create a hyperlinked button with an ‘onclick’ code to hide that button after it has been clicked, it hides on desktop sites, but not mobile. I believe this is likely due to variations between how each click is handled between platforms, but I can’t seem to remedy the issue.

Has anybody had similar issues with any fixes?

Please post the URL of your site. Only authorized Wix personnel can get access to your site in the editor.

How did you create a button with the onlick code? I can’t find how we can do this with code.

Hi,
Check out this article to learn to create a button with an onClick event.