How to do "Onclick=?" in bubble

image

<a onclick=“sendToQuickPrinterChrome();”

i need to run this function when user click. ( it can be done within HTML element )
But, I wanted to do it with Bubble Button ( so i can have following workflow )


i needed 2 action after click.

How should i do it? Thanks in advanced.

Add the Toolbox plugin and you can do the “Run Javascript” as an action

Save my day!