1.AngularJS可以使用数组或对象创建一个下拉列表选项: 2.在AngularJS中我们可以使用ng-option指令创建一个下拉列表:列表项通过对象和数组循环输出: <div ng-app="myApp" ng-controller="myCtrl"> <select ng-model="selectedName" ng-options="x for x in names"></selec
转载请注明来源:https://www.cnblogs.com/hookjc/ <script language="javascript"> <!-- var where = new Array(36); function comefrom(loca,locashi) { this.loca = loca; this.locashi = locashi; } where[0]= new