如何将外部jquery更改为内部jquery? [英] How can change external jquery in to internal one?

查看:68
本文介绍了如何将外部jquery更改为内部jquery?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将外部jquery更改为内部jquery?

How can change external jquery in to internal one?

推荐答案

您可以将JQuery文件的内容嵌入到页面上的script标记中,但是可以可能是您从中看到的好处?您增加了维护的复杂性和文件的大小,浏览器将没有机会缓存​​js文件.
You can embed the contents of the JQuery file within a script tag on your page, but what could possibly be the benefit you see in this? You increase the complexity of maintenance and the size of you file and there would be no chance for the browser to cache the js files.


这篇关于如何将外部jquery更改为内部jquery?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆