Hi All,
I am trying to disable a button on a JQM application.
I started the button as disabled according to this code: {type:'$button',caption: Button',key:'button',disabled:true}
However, I would like to enable or disable the button via JavaScript code . I have tried the following, but it don´t have the same behavior and style as the code above.
var view = zen('mainView');
view.disableItem('button',true,0);