导入控件:
<script type="text/javascript" src="${pageContext.request.contextPath}/common/js/My97DatePicker/WdatePicker.js"></script>
调用控件
<input id="TrTime" type="text" class="txt"
οnfοcus="WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss' })"/>
起关键作用的是
WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss' })