Home>Support>Onclick button

Onclick button

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. 5 years, 4 months 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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More