首页 > 代码库 > 时间选择插件Foundation datepicker

时间选择插件Foundation datepicker

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="http://www.mamicode.com/scripts/Datepicker/foundation-datepicker.css" rel="stylesheet" type="text/css">
<script src="http://www.mamicode.com/scripts/Datepicker/foundation-datepicker.js"></script>
<script src="http://www.mamicode.com/scripts/Datepicker/foundation-datepicker.zh-CN.js"></script>
<script type="text/javascript">
	$(‘.csrq‘).fdatepicker({
		format: ‘yyyy-mm-dd‘,
		initialDate: ‘1989-02-03‘,
	});
</script>

  

bug解决:

技术分享

 

时间选择插件Foundation datepicker