欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

timeShow

程序员文章站 2022-05-30 22:22:04
...
<link rel="stylesheet" href="<%=request.getContextPath()%>/plugin/datepicker/css/jquery.ui.all.css?v=${SUPPORT_VERSION}">
<link rel="stylesheet" href="<%=request.getContextPath()%>/plugin/datepicker/winget.css?v=${SUPPORT_VERSION}">
<script src="<%=request.getContextPath()%>/plugin/datepicker/js/ui/jquery.ui.core.js?v=${SUPPORT_VERSION}"></script>
<script src="<%=request.getContextPath()%>/plugin/datepicker/js/ui/jquery.ui.widget.js?v=${SUPPORT_VERSION}"></script>
<script src="<%=request.getContextPath()%>/plugin/datepicker/js/ui/jquery.ui.datepicker.js?v=${SUPPORT_VERSION}"></script>
$(document).ready(function(){
jQuery('#applyTime').datepicker({constrainInput: false, dateFormat: 'yy-mm-dd'});
})
时间: <input type="text" id="applyTime" name="applyTime"  value="${applyTime}" onclick="(new Calendar()).show(this)" readonly="true" />
相关标签: jquery