<!Doctype html> <html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script> </head> <body ng-model=""> <form runat="server"> <table> <thead> <tr> <td>sno </td> <td>des</td> <td>qty</td> <td>price</td> <td>amount</td> </tr> </thead> <tbody> <tr> <td><input type="text" ng-model="sno" placeholder="sno"</td> <td><input type="text" ng-model="des" placeholder="description"</td> <td><input type="text" ng-model="qty" placeholder="qty"></td> <td><input type="text" ng-model="price" placeholder="price"></td> <td><input type="text" value="{{ qty * price }}" /></td> <td><input type="text" value="{{(qty*price)*18/100}}"</td> </tr> <tr> <td><input type="text" ng-model="sno1" placeholder="sno"</td> <td><input type="text" ng-model="des1" placeholder="description"</td> <td><input type="text" ng-model="qty1" placeholder="qty"></td> <td><input type="text" ng-model="price1" placeholder="price"></td> <td><input type="text" value="{{ qty1 * price1 }}" /></td> <td><input type="text" value="{{(qty1*price1)*18/100}}"</td> </tr> <tr> <td><input type="text" ng-model="sno2" placeholder="sno"</td> <td><input type="text" ng-model="des2" placeholder="description"</td> <td><input type="text" ng-model="qty2" placeholder="qty"></td> <td><input type="text" ng-model="price2" placeholder="price"></td> <td><input type="text" value="{{ qty2 * price2 }}" /></td> <td><input type="text" value="{{(qty2*price2)*18/100}}"</td> </tr> </tbody> </table> </form> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)