Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a html file where i have below button

button class="btn custom-btn security-disabled ng-binding" id="CHANGE_BTN" >

there are javascripts function that enable this button ,
i need to check if we have security-disabled class then button should be disabled all times on page even if any other javascript function tries to enable it .

Thanks

What I have tried:

I tried using jquery , but it did not work
Posted
Updated 15-Dec-16 17:08pm

1 solution

Try this example
HTML
<label>Click me to toggle: <input type="checkbox" ng-model="checked"></label><br/>
<button ng-model="button" ng-disabled="checked">Button</button>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900