1
Answer

Disabled Button when it Clicked in table

NIK VYAVAHARE

NIK VYAVAHARE

8y
312
1
Hello, I want to disable button Assign when it clicked, beacause it should assign only once so i can achieve this, I have done following code for HTML. Thanks in advance
   
    <table class="table details">
    <thead>
    <tr>
    <th sort-by="firstName">User Name</th>
    <th sort-by="lastName">Description</th>
    <th sort-by="Budget" sort-init="desc">Bid Amount</th>
    <th sort-by="lastName">Action</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="issue in issues | filter:filter">
    <td><strong><a href="/ViewBid/Index?{{ issue.User_ID }}" />{{ issue.UserName }}           </strong></td>
    <td><a href="/ViewBid/Index?{{ issue.User_ID }}" />{{ issue.Description }}</td>
    <td><a href="/ViewBid/Index?{{ issue.User_ID }}" />{{issue.Bid_amt}}</td>
    <td>
    <div ng-controller="ExampleCtrl_Assign">
    <div ng-show="AsgHide">
    <button type="button" ng-click="AssignRecord(issue.ID,issue.Description,issue.Bid_amt)">Assign</button>
    </div>
    </div>
     <div ng-controller="ExampleCtrl_Delete">
    <div ng-show="AsgHide" >
    <button type="button" ng-click="DeleteRecord(issue.ID)">Delete</button>
    </div>
    </div>
    </td>
    </tr>
    </tbody>
    </table>
 
Answers (1)