showing results for - "check textbox value on ng change value 3d 3d in angular"
Noemi
07 Jun 2016
1<script>
2  angular.module('changeExample', [])
3    .controller('ExampleController', ['$scope', function($scope) {
4      $scope.evaluateChange = function(obj,$event) {
5        var currentElement = $event.target;
6        console.log(currentElement.value);//this will give you value of current element
7      };
8    }]);
9</script>
10
11<div ng-controller="ExampleController">
12  <textarea ng-change="evaluateChange(this)" id="ng-change-example1"></textarea>
13</div>