Nickzerui

    datetimepicker标签是专门输入日期时间的输入框,它自带一个日历,可以指定日历格式。该标签也使用了DOJO框架的JavaScript类库,因此必须使用Ajax主题。使用代码如下:

 1 <struts:head theme="ajax" />
 2 
 3 <style type="text/css">
 4 body,td {
 5     font-size: 12px;
 6 }
 7 </style>
 8 </head>
 9 
10 <body>
11 
12 <struts:form action="login">
13     <struts:datetimepicker name="date" displayFormat="yyyy-MM-dd" label="请选择日期" />
14 </struts:form>
15 
16 </body>

 

分类:

技术点:

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-05-15
  • 2021-11-11
猜你喜欢
  • 2021-11-21
  • 2021-12-04
  • 2022-01-08
  • 2021-12-04
  • 2021-12-04
  • 2021-12-04
相关资源
相似解决方案