JSFiddle

  • jQuery Sum & Subtract Two Input Fields

    jQuery Sum & Subtract Two Input Fields

    $(document).ready(function() {
        //this calculates values automatically 
        sum();
        $("#num1, #num2").on("keydown keyup", function() {
            sum();
        });
    });
    
    function sum() 
    {
      var num1 = document ...
  • AngularJS | Dynamic table with add/remove

    Dynamic table with in-line form

    var app = angular.module("myapp", []);
    app.controller("ListController", ['$scope', function($scope) {
      $scope.personalDetails = [
      {
        "PRODUCT_NO": 1,
        "PRODUCT_NAME": "Test_Product1",
        "QUANTITY": 1,
        "PRICE_PER_PIECE ...