我使用了struts-2作为我的应用程序,为了创建datepicker,我使用了“struts-jquery-...it”标签在其他浏览器中工作得很好,但是在Internet explorer中,它在all..My代码中没有显示出来。
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<sj:head/>
<sj:datepicker name="dueDate" id="dueDate" displayFormat="mm/dd/yy" label="Due Date" changeMonth="true" changeYear="true" title="Due Date" showButtonPanel="true" maxlength="10" readonly="true" buttonImage="/BPELServiceInvoke/resources/images/calendar_add.png" buttonImageOnly="true" duration="fast" />发布于 2013-11-09 11:25:46
这与该插件的浏览器兼容性问题密切相关。
最好的方式是在这里发帖:https://code.google.com/p/struts2-jquery/wiki/DatePickerTag
同时,试着降低你正在使用的插件的版本。我确信老版本将会支持IE8。
另外,查看正在使用的jquery版本的更改日志以及它对IE8 - https://code.google.com/p/struts2-jquery/wiki/Changelog的支持
https://stackoverflow.com/questions/19853163
复制相似问题