ng-options一般有以下用法: 数组作为数据源: label for value in array select as label for value in array label group by group for value in array label disable when disable for value in array label group by group for value in array track by trackexpr label disable whe
//给eayui datebox设置初始值 $("#ctime").datebox("setValue", function(){ var date = new Date(); var ctime = date.getFullYear()+'-'+(date.getMonth()+1)+'-'+date.getDate(); return ctime; });//获取datebox值var time = $("#ctime").datebox(&