When clicking a button I need to change the button text and icon. I 've figured out how to change the text:
var params = arguments[0],<br> $ = skuid.$;<br> <br>// do stuff here - then change button text<br> <br> var btn = params.component.button.text[0]; <br> btn.innerHTML = 'New button text';
However I can’t find a way to change the icon to another of the font awesome icons. Is there an easy way to do this?