The community member is trying to transform a div on the click of a button, and wants to know how to add onclick functionality or change the token of another element on click of a button in the editor. The comments suggest using HTML embed to add a custom script, but this cannot be used to add/delete tokens. The community members also discuss using hover and focus events, as well as custom JavaScript for click functionality, but there is no explicitly marked answer.
Hi. I'm trying to transform a div on the click of a button. How do i do this? How do i add onclick functionality, or change the token of another element on click of a button it in the editor?