【发布时间】:2015-11-30 12:18:10
【问题描述】:
知道如何使用 ng-bind angular 在 html 输入中输入>> phoneNo["phoneno"] 吗? phoneNo["phoneno"]如果使用{{phoneNo["phoneno"]}}可以显示,但是当我输入时它会变成语法错误
<input class="form-control" type="text" ng-bind="phoneNo["phoneno"]" readonly />
【问题讨论】:
-
ng-bind="phoneNo['phoneno']"不行吗?
标签: html angularjs html-input ng-bind