I’m used to setting up very basic buttons using the excellent ButtonPlus2, but normally I am just adding a link.
I need to add a button that when pressed triggers something like this:
<a href="#" id="go" onclick="mychatbot.start()">Start</a>
Most of my buttons use ButtonPlus2, but I’m happy to use whatever button/stack is necessary.
Sorry for being so thick and thank you in advance for any help.
We can’t see what you’re trying to start.
When you place code in this Forum you need to highlight it and mark it as code </> right above the typing area.
I’ve edited it above so it is now showing the code.
Then when you set up the button:
- URL to
- custom attributes add the following
@Teefers Thanks for that great explanation. I will give that a go this evening. Much appreciated