javascript - Enabling/Disabling onsen Button -
I want the enable / disabled onsen button on the other button click button. I have used the following code for this, but he did not work for me, the same requires suggestions / correction
Javascript:
function edit_click () {document.getElementById ("save"). Disabled = "false"; Document.getElementById ("not yet") disabled = "false". }
If you dynamically disable the button ngAttrDisabled Instructions.
& lt; Ons-button ng-attr-disabled = "{{disableButton}}" & gt; Click me! & Lt; / Ons-button & gt; & Lt; Input type = "checkbox" ng-model = "disable button" & gt; & lt; Ons-button & gt; Tags Unfortunately ngDisabled does not work in the current version of Onsen UI. P>
Comments
Post a Comment