jiangyaqiong

easyui中datetimebox不显示日期框

2016-07-08 16:18  夜半花开  阅读(4382)  评论(0编辑  收藏  举报

1.引入相关js

<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>

2.调用方法

<input  class="easyui-datetimebox" editable="false" type="text" name="startDate" id="startDate" value="${startDate}"/>

 

错误写法

<input  class="easyui-datetimebox" editable="false" type="text" name="startDate" id="startDate" value="${startDate}" readonly/>

 

说明:  1.editable="false" 表示时间框不可以编辑;

    2.readonly取消掉,日期框正常显示

分类:

技术点:

相关文章:

  • 2021-11-27
  • 2021-09-20
  • 2021-09-20
  • 2019-10-08
  • 2021-11-09
  • 2020-07-12
  • 2021-10-29
  • 2021-09-29
猜你喜欢
  • 2021-12-02
  • 2021-08-09
  • 2021-10-07
  • 2018-07-10
  • 2021-09-10
  • 2021-11-19
  • 2021-09-21
  • 2021-11-04
相关资源
相似解决方案