Skip to main content

how to cange label of button

1 reply [Last post]
Joined: 2008-11-11

How can I change the label of a dojo.dijit.button from
"jmaki.subscribe("*onClick", function(args) {"


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-07-31

HI Tapani,

We currently don't have a way to change button text after a widget is rendered though it is something that we could do.

How about something like :

jmaki.publish("/dojo/dijit/button/setLabel", { value : 'New Text' });

Where the button subscribes to :


If this works I can see if we can get the code together.