<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
/****引入文件****/
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="datepicker.css" />
<script type="text/javascript" src="libs/js/jquery-1.11.3.js" ></script>
<script type="text/javascript" src="bootstrap-datepicker.js" ></script>
/****引入文件****/
</head>
<body>
/content/
<input type="text" class="getCalendar"/>
/content/
</body>
<script>
/*调用*/
$(function(){
$(".getCalendar").datepicker({})
})
</script>
</html>
网友评论