laydate 日期禁用点击

laydate.render({
    elem: '.signDate',
    ready: function(date) {
        $("#dateBlock .layui-laydate-content td").each(function(index, elem) {
            $(this).replaceWith($(this).clone());
        });
    },
    change: function(value, date) {
        $("#dateBlock .layui-laydate-content td").each(function(index, elem) {
            $(this).replaceWith($(this).clone());
        });
    }
});

 

你可能感兴趣的:(Web,laydate)