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. node.js - gulp文件監(jiān)聽的問題2. node.js - node 客戶端socket一直報(bào)錯(cuò)Error: read ECONNRESET,用php的socket沒問題哈。。3. python - 模擬滑動(dòng)驗(yàn)證碼,有源碼,求解4. npm鏡像站全新上線5. mySql排序,序號(hào)6. tp6表單令牌7. 老哥們求助啊8. javascript - vue-router怎么不能實(shí)現(xiàn)跳轉(zhuǎn)呢9. html5 - angularjs中外部模版加載無法使用10. css3 - 請(qǐng)問一下在移動(dòng)端CSS布局布局中通常需要用到哪些元素,屬性?
