AnsweredAssumed Answered

How to change attributes in a Button

Question asked by jsn on Feb 15, 2017
Latest reply on Feb 15, 2017 by rscheitlin

Hello everyone,

 

Is there a way to change the color and other attributes in a Button?

 

This is the code I am using in my program:  

 

require([
"dojo/dom-construct",
"dijit/form/Button",

.......

this.btn = new Button({
label: 'Upload',

onClick: function() {
this.up.upload();
}
}).placeAt(this.form);

 

Thanks

Outcomes