无法下载 jQuery 1.9.1
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24363789/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Not able to download jQuery 1.9.1
提问by Neeraj Verma
I need to download jQuery 1.9.1.js. Everywhere I could find CDN link like
我需要下载 jQuery 1.9.1.js。我可以在任何地方找到 CDN 链接,例如
<script src="//code.jquery.com/jquery-1.9.js"></script>
and NuGet installation like this
和 NuGet 安装是这样的
PM> Install-Package jQuery -Version 1.9.1
I need the physical js file of this version specifically. I have tried to search and I have found one URL
我特别需要这个版本的物理js文件。我尝试搜索并找到了一个 URL
http://www.oldapps.com/
But this is giving the js upto 1.7, not above that. All i can find is only cdn links.
但这使 js 达到 1.7,而不是高于 1.7。我能找到的只是cdn链接。
Where can I download this?
我在哪里可以下载这个?
回答by Husman
http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js
http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js
or
或者
http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js(for the minified version)
http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js(对于缩小版)
then do "file->save as" or CTRL+S in your browser
然后在浏览器中执行“文件->另存为”或 CTRL+S
回答by Sheo Dayal Singh
Use this reference to get the 1.9.1 js file and copy the code and paste it in your local js file.
使用此参考获取 1.9.1 js 文件并复制代码并将其粘贴到本地 js 文件中。