var sc = document.createElement('script');
sc.setAttribute('src' , 'http://my.51job.com/in/js/2009/jQuery.js');
document.body.appendChild(sc);
然后就能用啦!
本文介绍如何通过创建并引入jQuery.js脚本来增强网页功能,并提供了一个简单的示例来展示其应用。
var sc = document.createElement('script');
sc.setAttribute('src' , 'http://my.51job.com/in/js/2009/jQuery.js');
document.body.appendChild(sc);
然后就能用啦!
226

被折叠的 条评论
为什么被折叠?