码迷,mamicode.com
首页 > 其他好文 > 详细

freemarker中input传日期

时间:2017-09-02 00:15:08      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:freemarker

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

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传日期

标签:freemarker

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!