1.AngularJS 实现过滤时间的功能
1.里面有一个innerHtml是什么意思和value 之间的区别是什么
2.module—–>controller——-function($scope)顺序在最后的函数中写对应的函数
<script type="text/javascript">
//this is for AngularJS
a = document.getElementById('slider-snap-value-lower1').innerHTML;
b = document.getElementById('slider-snap-value-upper1').innerHTML;
var app = angular.module('myApp',[]);
app.controller('myCtrl', function($scope) {
$scope.get_Results = function(){
$('#footable-res2').footable().bind('footable_filtering', function(e) {
var selected = $('.filter-status').find(':selected').text();
if (selected && selected.length > 0) {
e.filter += (e.filter && e.filter.length > 0) ? ' ' + selected : selected;
e.clear = !e.filter;
}
});
setTimeout(function() { $('table.demo').trigger('footable_resize'); },200);
}
});
</script>