OnClick, how, where?

User 122279 Photo


Senior Advisor
14,649 posts
Online Now

I need some help. I have a parameter like this:
<a href="#" onClick="bafinstance.unveil('0%'); return false">
that I need to add in RSD. I started off with a text link, but how do I add this onClick and its properties?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 244626 Photo


Registered User
811 posts

I have added onClick as a custom data-attribute. OnClick and then the value.
Bootstrap 5 CSS Grid.
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

Thanks, Twinstream! That works great!
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.