<pre>
laydate.render({
elem:'#settleMonth',
type:'month',
format:'yyyy-MM',
showBottom:false,
ready:function(date){
$("#layui-laydate3").off('click').on('click','.laydate-month-list li',function(){
$("#layui-laydate3").remove();
});
},
change:function(value,dates,edate){
$('#settleMonth').val(value);
}
});
</pre>
laydate点击月份实现自动关闭功能
猜你喜欢
转载自blog.51cto.com/maplebb/2124973
今日推荐
周排行