bootstrap 時間日期日歷控件

bootstrap 時間日期日歷控件

bootstrap實列qingyu2021-05-19 11:32:5818A+A-
<!DOCTYPE html>
<html>
 
	<head>
		<meta charset="UTF-8">
		<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
		<link href="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
 
		<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
		<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<script src="https://cdn.bootcss.com/moment.js/2.22.0/moment-with-locales.js"></script>
		<script src="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>
 
		<title></title>
		<style type="text/css">

		</style>
	</head>
 
	<body>
		<div class="form-group ">
			<label for="name">發布時間</label>
			
			<div class='input-group date' style="width: 14em;" id='datetimepicker1'>
				<input type='text' class="timeInput form-control" />
				<span class="input-group-addon">
                <span class="glyphicon glyphicon-calendar">選擇</span>
				</span>
			</div>
		</div>
		<script>
			
			
			$('#datetimepicker1').datetimepicker({
				format: 'YYYY-MM-DD',
				locale: moment.locale('zh-cn'),
				
			});
			
		</script>
	</body>
</html>

1.png

點擊這里復制本文地址 小黃雞源碼編程網歡迎您!

支持Ctrl+Enter提交
qrcode

小黃雞源碼編程網 © All Rights Reserved.  Copyright www.jxncnsltng.com
Powered by Z-BlogPHP
聯系我們| 關于我們| 廣告聯系| 網站管理

动漫H片在线播放免费高清_日本一本有码无码综合视频_国色天香社区高清免费视频