Home>Support>Onclick button

Onclick button

Hello everyone,

i use siteorigin button,
I would like to click on a button to execute a java script function to open a chatbot.

I tried to add an onclick attribute however since the button has no definite link, when I click on the button I am redirected to the top of the page.

how to have the expected behavior?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 2 months, 14 days ago Andrew Misplon Hi, I Work Here

    Hi kenzo

    Thanks for posting.

    Please, send us the JavaScript you’re adding and we’ll take a look.

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More