How do I can change button's text from JS script?

I cannot perform this simple task. I searched on docs how to do this(like hello-world example or something, but I don't found any examples with changing text of button
Has invited:

Tiberium

Favor from:

OK, I made it myself following video by Gamesfromscratch about QICI Engine

To reply to a question, please Login or registered