【WdatePicker】选择不能小于当天
使用 WdatePicker
实现选择日期不能小于当天的示例代码
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WdatePicker Example</title>
<script src="http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/My97DatePicker/4.8/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
<input type="text" id="datePicker" class="Wdate" onclick="WdatePicker({minDate:'%y-%M-%d'})" />
</body>
</html>