mini-monthpicker在ie8下,Integer.parseInt(nd)是一个4位整数,nd1设置了value,nd2没有设置value,nd1的控件无法弹出,nd2的控件正常

<span style="font-size:9pt">对照年份1:</span>
<input class="mini-monthpicker" id="nd1" name="searchCell" maxlength="40" showTime="true" format="yyyy" style="width: 100px;" value=<%=Integer.parseInt(nd) %>/>    
<span style="font-size:9pt">对照年份2:</span>
<input class="mini-monthpicker" id="nd2" name="searchCell" maxlength="40" showTime="true" format="yyyy" style="width: 100px;" />

 

--------------------------------------------------------------------2017年11月16日17:27:59更新--------

由于ie8数据格式校验比较严格所以,传入整型会报错,需要传入date类型的数据才行

相关文章:

  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-07-27
  • 2022-12-23
猜你喜欢
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2022-03-01
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案