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" />
<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" />