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,想請(qǐng)問如何解決兼容問題使得t2 panel進(jìn)行頁面刷新
問題解答
回答1:
只支持ie8的標(biāo)準(zhǔn)模式,不支持ie6,7的
相關(guān)文章:
1. javascript - immutable配合react提升性能?2. javascript - sublime快鍵鍵問題3. javascript - nodejs關(guān)于進(jìn)程間發(fā)送句柄的一點(diǎn)疑問4. javascript - 移動(dòng)端上不能實(shí)現(xiàn)拖拽布局嗎?5. 實(shí)現(xiàn)bing搜索工具urlAPI提交6. Apache 已經(jīng)把網(wǎng)站根目錄的改為allow from all了,但是服務(wù)器還是不能訪問?7. css - 寫頁面遇到個(gè)布局問題,求大佬們幫解答,在線等,急!~8. phpstudy8.1支持win11系統(tǒng)嗎?9. 配置Apache時(shí),添加對(duì)PHP的支持時(shí)語法錯(cuò)誤10. vue.js - Vue 如何像Angular.js watch 一樣監(jiān)聽數(shù)據(jù)變化

網(wǎng)公網(wǎng)安備