ITeye博客

在textfield里面显示日期

cobble19 · 2011-06-20 17:47 · Struts2 · Web前端 · Markdown

<s:textfield name = "birthday" onclick="showcalendar(event, this)"  readonly="true">
    <s:param name="value"><s:date name="birthday" format="yyyy-MM-dd"/></s:param>
</s:textfield>

 

说明:showcalendar(event, this)--时间日期控件函数

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。