mini-monthpicker在ie8下,Integer.parseInt(nd)是一個4位整數,nd1設置了value,nd2沒有設置value,nd1的控件沒法彈出,nd2的控件正常spa
<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更新--------code
因爲ie8數據格式校驗比較嚴格因此,傳入整型會報錯,須要傳入date類型的數據才行orm