zoukankan      html  css  js  c++  java
  • 异步请求时有时会让js不起作用,那么重新加载js

    function reloadSmartMenu() {
        var jsElem = document.createElement('script');
        jsElem.src= path+'/system/config/js/reloadStat.js';
        document.getElementsByTagName('head')[0].appendChild(jsElem);
    }
  • 相关阅读:
    8.25
    8.24
    8.23
    8.22
    8.21
    8.20
    8.19
    8.18
    8.17
    8.16
  • 原文地址:https://www.cnblogs.com/sun-space/p/5561407.html
Copyright © 2011-2022 走看看