首页 > 其他 > 详细

freemarker中input传日期

时间:2017-09-01 23:55:19      阅读:795      评论:0      收藏:0      [点我收藏+]

在页面中直接获取即可,不需要写什么:

value=<%=Request.Form("Mobile")%>    或者       是在JS中写function()等。

这个日期的搜索是在当前页面,搜索完也是返回到当前页面,进入当前页面显示的默认提示,当输入时间搜索的时就会显示搜索时间。

<input type="text" id="startDate" readonly name="begintime" class="orderTime" value="${begintime}" placeholder="时间范围起始" onfocus="WdatePicker();"/>

<input  id="endDate" name="endtime" type="text" readonly class="orderTime" value="${endtime}" placeholder="时间范围结束" onfocus="WdatePicker();"/>

本文出自 “Java_晨曦” 博客,请务必保留此出处http://19951995.blog.51cto.com/12620826/1962014

freemarker中input传日期

原文:http://19951995.blog.51cto.com/12620826/1962014

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!