Monday, October 16, 2017

AngularJS is not a function error

I am trying to implement a payment system in my e-commerce web application where I need installment options to be chosen by the client. I use angularjs to get that information but I get the error that all the provided functions below are not functions. I can provide additional information, but here is part related with the issue:

$scope.tekcekim() = function () {
        $scope.strInstallmentCount = "";
    };

    $scope.taksit2() = function () {
        $scope.strInstallmentCount = "2";
    };

    $scope.taksit3() = function () {
        $scope.strInstallmentCount = "3";
    };

Source: AngularJS



from Angular Questions https://angularquestions.com/2017/10/16/angularjs-is-not-a-function-error/
via @lzomedia #developer #freelance #web #lzomedia.com

No comments:

Post a Comment