ng-bind是从$scope -> view的单向绑定
ng-modle是$scope <-> view的双向绑定
                    <form role="form" class="form-inline">
                    
<div class="form-group"> <label for="nj">年级:</label> <select name="nj" >> <option ng-repeat="op in njs " value="{{op.id}}">{{op.name}}</option> </select> </div>
<div class="form-group"> <label for="zy">年级:</label> <select name="zy" > <option ng-repeat="op in zys " value="{{op.id}}">{{op.name}}</option> </select> </div>
<button type="submit" class="btn btn-primary" >查询</button> </form>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-11-17
猜你喜欢
  • 2021-08-19
  • 2021-11-12
  • 2021-11-03
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案