onclick="openCity(event, 'London')
I want to use this kind of approach, to build a tab component in webflow myself. The problem is, that i can't make it work to fill in the attribute with dynamic content inside.
Does it work like this?
onclick="openContent(event, '{{tabcontent}}')"