javascript - extjs5 panel的update方法ie不兼容
問題描述
<c:if test='${requestScope.isntCustVip == true}'> <script type='text/javascript'>function browserPage(pageNum){ var t2 = parent.Ext.getCmp('main').child('#' +’StarCustomerHold_’+${requestScope.staff_name}); t2.update(); var t1 = parent.Ext.getCmp('main').child('#' +’StarCustomerHold_’+${requestScope.cm_id}); t1.close();} </script></c:if><c:if test='${requestScope.isntCustVip == false}'> <script type='text/javascript'>function browserPage(pageNum){ var t2 = parent.Ext.getCmp('main').child('#M0503'); t2.update(); var t1 = parent.Ext.getCmp('main').child('#' +’StarCustomerHold_’+${requestScope.cm_id}); t1.close();} </script></c:if>
其中t2.update();方法在火狐瀏覽器及360極速模式下可以使用,但是在兼容模式及ie瀏覽器中無法使用,有必須要兼容ie,想請問如何解決兼容問題使得t2 panel進行頁面刷新
問題解答
回答1:只支持ie8的標準模式,不支持ie6,7的
相關文章:
1. MySQL 使用 group by 之后然后 IFNULL(COUNT(*),0) 為什么還是會獲得 null2. wordpress里,這樣的目錄列表是屬于小工具還是啥?3. 一直報這個錯誤4. 常量在外面不加引號會報錯。5. python如何設置一個隨著系統時間變化的動態變量?6. mysql - 大部分數據沒有行溢出的text字段是否需要拆表7. mysql federated引擎無法開啟8. sublime text3安裝package control失敗9. 我的怎么不顯示啊,話說有沒有QQ群什么的10. mysql 為什么主鍵 id 和 pid 都市索引, id > 10 走索引 time > 10 不走索引?
