problem with changing label text of a button

Hello,
this is a begginer’s question: I have two buttons, one with label: “One”. After clicking on the second button, the label value should change to “Two”. How do I do that?

Thanks in advance :slight_smile:

Hi Verdant and welcome to the forum :slight_smile:

Here’s a code snippet that does the job.
In my snippet I showed two different ways on how to add a click event. Here’s more info on event handling in Webix.