没有jquery的页面引入jquery
引入jquery方便写js代码
var d=document.querySelector(".parent"); var sc=document.createElement("script"); sc.setAttribute("src","http://code.jquery.com/jquery-latest.js"); d.appendChild(sc);
本文出自 纳百川,转载时请注明出处及相应链接。
本文永久链接: https://www.bicner.com/999.html