HLJ 发布于
2018-08-09 09:27:20

jQuery $.getScript方法引用外部js文件

jQuery $.getScript方法引用外部js文件
$(function(){
     $.getScript("demo.js", function() {
          alert("Script loaded but not necessarily executed.");
     });
})

当前文章内容为原创转载请注明出处:http://www.good1230.com/detail/2018-08-09/45.html
最后生成于 2023-06-18 18:29:07
此内容有帮助 ?
0