Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angularjs onclick disable button click

<button id="submitRequest" onclick="this.disabled=true" 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>
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angularjs #onclick #disable #button #click
ADD COMMENT
Topic
Name
4+7 =