Async Load JavaScript Files with Callback

前端 未结 6 1314
礼貌的吻别
礼貌的吻别 2020-12-05 08:26

I am trying to write an ultra simple solution to load a bunch of JS files asynchronously. I have the following script below so far. However the callback is sometimes called

6条回答
  •  无人及你
    2020-12-05 09:07

    jcors-loader.js not working in Internet Explorer...

    Index.html

    
        
        
        
        
        
        

    alertme.js

    alert("Loaded");

    This works fine in chrome and firefox it displays "TEST OK" and popup...But no message or alert in IE(7,8,9)...Any help will be appreciated.

提交回复
热议问题