动态插入 js

2020-11-27  

var script = document.createElement("script");
scriptm.src = "http://www.xxx.com/abc.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(script, s);

 

ConstXiong 备案号:苏ICP备16009629号-3