Can't Getting Textarea Value Using Angularjs June 08, 2024 Post a Comment Addressundefined. Nothing has been assigned to $scope.tbaddress at this point. (but maybe you have it defined earlier, but it's just not being shown in the code).I actually didn't have a problem getting it to work. I wrapped the alert in a function that is bound to the submit button. I'm able to get the value. See my example.I also took the liberty of changing your $scope a bit. It's recommended that every ngModel has a . in it's name. So rather than tbAddress it should be tb.address. It has to do with how angular inheritance is handled. Refer to:Why don't the AngularJS docs use a dot in the model directive?The Dot - egghead videoGoogle results for 'angular use dots in models' Share Post a Comment for "Can't Getting Textarea Value Using Angularjs"