http://www.jq22.com/jquery-info10555
api:http://foundation-datepicker.peterbeno.com/example.html
<li class='date'><span class="name">出生日期:</span><input type="text" class="csrq" readonly="true"></li>
<link rel="stylesheet" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css"> <link href="scripts/Datepicker/foundation-datepicker.css" rel="stylesheet" type="text/css"> <script src="scripts/Datepicker/foundation-datepicker.js"></script> <script src="scripts/Datepicker/foundation-datepicker.zh-CN.js"></script> <script type="text/javascript"> $('.csrq').fdatepicker({ format: 'yyyy-mm-dd', initialDate: '1989-02-03', }); </script>
bug解决: