标签:tee 文件 script creat child 属性 pen guid sharp
var head= document.getElementsByTagName(‘head‘)[0]; //构建 <script> var script= document.createElement(‘script‘); //设置src属性 script.type= ‘text/javascript‘; script.src= ‘https://g.alicdn.com/sd/nvc/1.1.112/guide.js‘; head.appendChild(script);//加入到head对象中
标签:tee 文件 script creat child 属性 pen guid sharp
原文地址:https://www.cnblogs.com/zhizhic/p/10251142.html