fireBug引入JQuery,方便书写jq调试代码

在控制台执行下段代码,等到网络中加载完成后,即可正常运行jq代码。也可以根据需要进行修改引入其他js代码。

1 javascript:(function(url) {
2     var s = document.createElement('script');
3     s.src = url;
4     (document.getElementsByTagName('head')[0] ||
5         document.getElementsByTagName('body')[0]).appendChild(s);
6 })('http://code.jquery.com/jquery-1.10.2.js');

 

posted @ 2015-03-25 15:13  MyFirstHome  阅读(186)  评论(0编辑  收藏  举报