js引用jquery
new_element=document.createElement("script");
new_element.setAttribute("type","text/javascript");
new_element.setAttribute("src","https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"); //此处为要引入的js的地址
document.body.appendChild(new_element);
网友评论