AnsweredAssumed Answered

Changing button label on click

Question asked by samirgambhir on May 1, 2012
Latest reply on May 1, 2012 by samirgambhir
This should be fairly simple but I cannot figure it out. I am using dojo button in a form. I would like the button to change its label from ABC to DEF when clicked. I am trying to use dijit.byId(button id).label="DEF" but it does not seem to work. Any suggestions?
Thanks in advance