我想获取<th class="binahao">{{goods.id}} </th>里面的内容,选择了console.log(angular.element($(this).parent('th').parent('tr').find('.bianhao')).val())这样的方式,但是输出的是undefined,请问一下应该怎样获取?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
不是$scope.goods.id么,实时变化的话用$scope.watch获取