how Disable submit button after one click in angularJS

 

Questions


I would like to disable button after one click.

Code:

<button id="submitRequest" class="btn btn-primary btn-active" ng-disabled="!frmRequest.$valid||!r.DataUseAgreement||(!chkBMT&&!chkOncore&&!chkCAISIS&&!chkLIMS&&!chkFCR)" ng-click="SaveData()"><i class="fa fa-save"></i> Submit</button>

How to disable this one after one click?

Thanks!

 

 

————————————————-

Answer

angularjs,angularjs-ng-disable,button

Facebook Comments

Website Comments

Post a comment