使用Angular-Leaflet-directive获取select选中的值
来源:互联网 发布:简单的数据库系统 编辑:程序博客网 时间:2024/05/21 08:43
使用Angular-Leaflet-directive获取select选中的值
- html
<select class="form-control" ng-model="selectValue" ng-change="selectedChange(selectedValue)"> <!--默认的内容,不显示在选项中--> <option style="display:none" value=""> <strong>请选择</strong> </option> <option>工作人员</option> <option>天气</option> <option ng-repeat="value in datas" value="{{value}}"> {{value}} </option></select><button type="button" class="btn btn-success" ng-click="getValue()">OK</button>
- js
$scope.selectedChange = function (v) { console.log('selectedChange: ', v);}$scope.getValue = function () { console.log("selectValue", $scope.selectValue);};
0 0
- 使用Angular-Leaflet-directive获取select选中的值
- angular directive的使用
- 获取select选中的值
- angular select 默认选中值
- JS获取选中的select的值
- js获取select选中的值
- js获取select标签选中的值
- js获取select选中的值
- js获取select标签选中的值
- JavaScript获取select选中的值
- js获取select标签选中的值
- JS获取select标签选中的值
- jquery获取select选中的值
- js获取select标签选中的值
- js获取select标签选中的值
- js获取select选中option的值
- js获取select标签选中的值
- js获取select标签选中的值
- 第37课时,自测
- hdu3336 Count the string(KMP应用)
- 黑马程序员 C语言 指针1
- 安卓之listview和textview争抢焦点的解决办法
- hadoop编程实例
- 使用Angular-Leaflet-directive获取select选中的值
- Linux下重启tomcat的shell脚本
- Unsupported major.minor version 51.0
- nginx1.6下安装nginx_concat_module报400错误
- Java 设计模式—单例模式
- 期待读全书——像外行一样思考,像专家一样实践
- ZOJ3862:Intersection
- 几种开放源码的TCPIP协议栈概述--LwIP,uIP,TinyTcp和uC/IP
- vijos 1404 遭遇战[spfa]