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進(jìn)行頁面刷新
問題解答
回答1:只支持ie8的標(biāo)準(zhǔn)模式,不支持ie6,7的
相關(guān)文章:
1. 求救一下,用新版的phpstudy,數(shù)據(jù)庫過段時間會消失是什么情況?2. mysql - 如何在有自增id的情況下,讓其他某些字段能不重復(fù)插入3. python小白,關(guān)于函數(shù)問題4. django - Python error: [Errno 99] Cannot assign requested address5. javascript - webpack1和webpack2有什么區(qū)別?6. node.js - win 下 npm install 遇到了如下錯誤 會導(dǎo)致 無法 run dev么?7. [python2]local variable referenced before assignment問題8. angular.js - 百度支持_escaped_fragment_嗎?9. python小白 關(guān)于類里面的方法獲取變量失敗的問題10. Python2中code.co_kwonlyargcount的等效寫法
