.net techniq
Monday, 9 January 2017
$scope.watch:
<input type='text' data-ng-model='user' />
$scope.$watch('user',function(){
if($scope.user.length>5)
alert($scope.user);
});
No comments:
Post a Comment
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment