search

Home  >  Q&A  >  body text

javascript - The update method of extjs5 panel is incompatible with 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>

The t2.update(); method can be used in Firefox browser and 360 speed mode, but cannot be used in compatibility mode and IE browser. It must be compatible with IE. I would like to ask how to solve the compatibility problem to make the t2 panel Refresh the page

大家讲道理大家讲道理2771 days ago662

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-06-05 11:15:15


    Only supports the standard mode of ie8, does not support ie6 and 7

    reply
    0
  • Cancelreply