<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>