Hi builders, I am trying to figure out the IDs of the new action buttons so I can use custom code to trigger webhooks (in addition to opening the link as per open url of the action button); the following should work as far as I understand but currently does not yet work…
var button1 = document.getElementById(‘button1’);
console.log(button1);
I also tried querySelector (to be able to find the first of several buttons in one element) but its not working either:
var button1 = document. querySelector(‘#button1’);
I will let @artur answer you as I didn’t check this already. But I’m pretty sure this wouldn’t be that simple, for example, with the CTA buttons I need to play with the Css pseudo class :nth-child()… (see an example here New - unofficial - feature: TABS - Hide/Show multiple blocks horizontally) or with button index.