-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjQuery The Write Less, Do More, JavaScript Library.html
More file actions
194 lines (172 loc) · 13.7 KB
/
Copy pathjQuery The Write Less, Do More, JavaScript Library.html
File metadata and controls
194 lines (172 loc) · 13.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<!-- saved from url=(0027)http://jquery.com/download/ -->
<html class="js"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery: The Write Less, Do More, JavaScript Library</title>
<link rel="stylesheet" href="./jQuery The Write Less, Do More, JavaScript Library_files/reset.css" type="text/css">
<link rel="stylesheet" href="./jQuery The Write Less, Do More, JavaScript Library_files/screen.css" type="text/css">
<script src="./jQuery The Write Less, Do More, JavaScript Library_files/jquery.min.js"></script>
<script>!window.jQuery && document.write('<script src="http://code.jquery.com/jquery-1.4.2.min.js"><\/script>');</script>
<script src="./jQuery The Write Less, Do More, JavaScript Library_files/custom.js"></script>
<link rel="alternate" type="application/rss+xml" title="jQuery Blog" href="http://jquery.com/blog/feed/">
<link rel="shortcut icon" href="http://static.jquery.com/favicon.ico" type="image/x-icon">
<style>
#jq-footer #jq-credits{
width: 290px;
}
#jq-secondaryNavigation ul,
#jq-footerNavigation ul {
width: 38em;
}
</style>
<script type="text/javascript" async="" src="./jQuery The Write Less, Do More, JavaScript Library_files/ga.js"></script></head>
<body class="jq-enhanced" style="">
<div id="jq-siteContain">
<div id="jq-header">
<a id="jq-siteLogo" href="http://jquery.com/" title="jQuery Home"><img src="./jQuery The Write Less, Do More, JavaScript Library_files/logo_jquery_215x53.gif" width="215" height="53" alt="jQuery: Write Less, Do More."></a>
<div id="jq-primaryNavigation">
<ul>
<li class="jq-jquery jq-current"><a href="http://jquery.com/" title="jQuery Home">jQuery</a></li>
<li class="jq-ui"><a href="http://jqueryui.com/" title="jQuery UI">UI</a></li>
<li class="jq-mobile"><a href="http://jquerymobile.com/" title="jQuery Mobile">Mobile</a></li>
<li class="jq-plugins"><a href="http://plugins.jquery.com/" title="jQuery Plugins">Plugins</a></li>
<li class="jq-meetup"><a href="http://meetups.jquery.com/" title="jQuery Meetups">Meetups</a></li>
<li class="jq-forum"><a href="http://forum.jquery.com/" title="jQuery Forum">Forum</a></li>
<li class="jq-blog"><a href="http://blog.jquery.com/" title="jQuery Blog">Blog</a></li>
<li class="jq-about"><a href="http://jquery.org/about" title="About jQuery">About</a></li>
<li class="jq-donate"><a href="http://jquery.org/donate" title="Donate to jQuery">Donate</a></li>
</ul>
</div><!-- /#primaryNavigation -->
<div id="jq-secondaryNavigation">
<ul>
<li class="jq-download jq-first"><a href="./jQuery The Write Less, Do More, JavaScript Library_files/jQuery The Write Less, Do More, JavaScript Library.html"><span class="jq-shadow">Download</span><span>Download</span></a></li>
<li class="jq-documentation"><a href="http://docs.jquery.com/"><span class="jq-shadow">Documentation</span><span>Documentation</span></a></li>
<li class="jq-bugTracker"><a href="http://bugs.jquery.com/"><span class="jq-shadow">Bug Tracker</span><span>Bug Tracker</span></a></li>
<li class="jq-discussion jq-last"><a href="http://docs.jquery.com/Discussion"><span class="jq-shadow">Discussion</span><span>Discussion</span></a></li>
</ul>
</div><!-- /#secondaryNavigation -->
</div><!-- /#header -->
<div id="body" class="clearfix">
<div class="inner" role="main">
<div id="jq-content" class="jq-clearfix">
<style>
#jq-intro ul { margin-left: 1.5em; padding-top: 0; }
#jq-intro li a { display: inline; float: none; margin: 0.2em; padding: 0; padding-left:2em; }
#jq-intro li span { display: block; float: none; margin-left: 2.2em; }
#jq-intro li span a { background: none; padding-left: 0; }
#jq-intro li { float: none; font-size: 12px; line-height: 1.4 !important; margin: 1.2em 0 !important; }
#jq-intro li.disclaim { list-style: none; margin-bottom: 0 !important; }
#jq-intro, #jq-download { margin-bottom: 0; }
#jq-download { margin-top: 0.2em; }
#jq-primaryContent td { margin-top: 0; padding: 0.5em 1em; }
.syntaxhighlighter { border: 1px solid #000; }
</style>
<div id="jq-intro">
<h2>CDN Hosted jQuery</h2>
<p>Below are links to the <a href="http://en.wikipedia.org/wiki/Content_delivery_network">CDN</a>-hosted copies of jQuery that you may hotlink to.</p>
<ul>
<li>
<div><a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js">Google Ajax Libraries API CDN</a></div>
<span>Supports SSL via HTTPS (<a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery">Documentation</a>)</span>
</li>
<li>
<div><a href="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js">Microsoft CDN</a></div>
<span>Supports SSL via HTTPS (<a href="http://www.asp.net/ajaxlibrary/cdn.ashx">Documentation</a>)</span>
</li>
<li>
<div><a href="http://code.jquery.com/jquery-1.8.2.min.js">jQuery CDN Minified</a> or <a style="background:none;padding-left:0;" href="http://code.jquery.com/jquery-1.8.2.js">Full</a></div>
<span>via <a href="http://mediatemple.net/">Media Temple</a></span>
</li>
<li class="disclaim">We do not control the Microsoft or Google CDNs and there may be a delay from the time of a new release until it is available there.</li>
</ul>
</div>
<div id="jq-download">
<h2>Download jQuery</h2>
<form action="http://jquery.com/" method="get">
<fieldset>
<legend>Choose your compression level:</legend>
<div id="jq-compression" class="jq-clearfix">
<input type="radio" name="name" value="http://code.jquery.com/jquery-1.8.2.min.js" id="jq-production" checked="checked">
<a class="jq-radioToggle name jq-checked" href="http://code.jquery.com/jquery-1.8.2.min.js">jquery-1.8.2.min.js</a>
<label for="jq-production">Production <em>(<strong>32KB</strong>, Minified and Gzipped)</em></label>
<input type="radio" name="name" value="http://code.jquery.com/jquery-1.8.2.js" id="jq-development">
<a class="jq-radioToggle name" href="http://code.jquery.com/jquery-1.8.2.js">jquery-1.8.2.js</a>
<label for="jq-development">Development <em>(<strong>247KB</strong>, Uncompressed Code)</em></label>
</div>
<button type="submit" name="downloadBtn" id="jq-downloadBtn"><span>Download</span></button>
<p class="jq-version"><strong>Current Release:</strong> v1.8.2</p>
</fieldset>
</form>
<script>
jQuery("#jq-download form").submit(function(){
window.location = jQuery(this).find("input:checked").val();
return false;
});
</script>
</div>
<div id="jq-primaryContent" style="width:auto">
<h2>About the Code</h2>
<p>The code itself is written rather cleanly in an attempt to self-document. If you've spotted some areas of code that could be improved, please feel free to discuss it on the <a href="https://forum.jquery.com/developing-jquery-core">Developing jQuery Core Forum</a>. All input is gladly appreciated!</p>
<p>All of the code is available in two formats:</p>
<ul>
<li>Compressed (which allows you to have a significantly smaller file size) and</li>
<li>Uncompressed (good for debugging and to understand what is behind the magic).</li>
</ul>
<p>If you're interested in downloading Plugins developed by jQuery contributors, please visit the <a href="http://plugins.jquery.com/">Plugins site</a>.</p>
<p><em>jQuery is provided under the <a href="http://jquery.org/license">MIT or GPL license</a>.</em></p>
<hr>
<h2>Advanced/Experimental Options</h2>
<h3>Past Releases</h3>
<table>
<thead><tr><th>Version</th><th>Docs</th><th>Downloads</th></tr></thead>
<tbody>
<tr><td>1.8.2</td><td><a href="http://blog.jquery.com/2012/09/20/jquery-1-8-2-released/">Release Notes</a></td><td><a href="http://code.jquery.com/jquery-1.8.2.min.js">Minified</a> <a href="http://code.jquery.com/jquery-1.8.2.js">Uncompressed</a></td></tr>
<tr><td>1.8.1</td><td><a href="http://blog.jquery.com/2012/08/30/jquery-1-8-1-released/">Release Notes</a></td><td><a href="http://code.jquery.com/jquery-1.8.1.min.js">Minified</a> <a href="http://code.jquery.com/jquery-1.8.1.js">Uncompressed</a></td></tr>
<tr><td>1.8.0</td><td><a href="http://blog.jquery.com/2012/08/09/jquery-1-8-released/">Release Notes</a></td><td><a href="http://code.jquery.com/jquery-1.8.0.min.js">Minified</a> <a href="http://code.jquery.com/jquery-1.8.0.js">Uncompressed</a></td></tr>
<tr><td>1.7.2</td><td><a href="http://blog.jquery.com/2012/03/21/jquery-1-7-2-released/">Release Notes</a></td><td><a href="http://code.jquery.com/jquery-1.7.2.min.js">Minified</a> <a href="http://code.jquery.com/jquery-1.7.2.js">Uncompressed</a></td></tr>
<tr><td>1.7.1</td><td><a href="http://blog.jquery.com/2011/11/21/jquery-1-7-1-released/">Release Notes</a></td><td><a href="http://code.jquery.com/jquery-1.7.1.min.js">Minified</a> <a href="http://code.jquery.com/jquery-1.7.1.js">Uncompressed</a></td></tr>
<tr><td>1.6.4</td><td><a href="http://blog.jquery.com/2011/09/12/jquery-1-6-4-released/">Release Notes</a></td><td><a href="http://code.jquery.com/jquery-1.6.4.min.js">Minified</a> <a href="http://code.jquery.com/jquery-1.6.4.js">Uncompressed</a></td></tr>
<tr><td>1.6.3</td><td><a href="http://blog.jquery.com/2011/09/01/jquery-1-6-3-released/">Release Notes</a></td><td><a href="http://code.jquery.com/jquery-1.6.3.min.js">Minified</a> <a href="http://code.jquery.com/jquery-1.6.3.js">Uncompressed</a></td></tr>
</tbody>
</table>
<h3>jQuery Git</h3>
<p>This work-in-progress build, known as jQuery Git, is generated once a minute from the <a href="http://github.com/jquery/jquery">jQuery Git repository</a>. It is provided as a convenience for anyone who wants to help test changes in the next version of jQuery.</p>
<p>When reporting issues with jQuery Git builds of jQuery, please make sure you include the date and time the snapshot was generated (it is listed at the top of the file).</p>
<p>Linking to jQuery Git builds directly from the CDN is not advised, as the file is constantly refreshed and may change from minute to minute as new commits are made to the repository.</p>
<p><strong>WARNING:</strong> Do NOT use the jQuery Git build in a production system or live application! It is not tested. It is not stable. It will probably blow up on you unexpectedly. You have been warned! If in doubt, stop and use the current release.</p>
<p>jQuery Git <a href="http://code.jquery.com/jquery-git.js">Uncompressed</a></p>
<h3>Build from Git</h3>
<p><strong>Note:</strong> The following is quite advanced. If you wish to just use a work-in-progress version of jQuery, please try the jQuery Git build instead.</p>
<p>All source code is kept under Git revision control, which you can browse online. There's a download link available for any file or directory, if you only want to download a portion of the jQuery code.</p>
<p>If you have access to Git, you can connect to the repository here:</p>
<div class="syntaxhighlighter nogutter "><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="plain">git clone git:</code><code class="plain">//github</code><code class="plain">.com</code><code class="plain">/jquery/jquery</code><code class="plain">.git</code></div></div></td></tr></tbody></table></div>
<p>You can also check out a specific version of jQuery from GitHub:</p>
<div class="syntaxhighlighter nogutter "><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="plain">git clone git:</code><code class="plain">//github</code><code class="plain">.com</code><code class="plain">/jquery/jquery</code><code class="plain">.git</code></div><div class="line number2 index1 alt1"><code class="plain">git checkout 1.2.6</code></div></div></td></tr></tbody></table></div>
<p>The repository's <a href="https://github.com/jquery/jquery/blob/master/README.md">README</a> has more information on building and testing your own jQuery, as well as links to core style guidelines and tips for patching bugs.</p>
</div></div><!-- /#content -->
<div id="comments">
</div><!-- #comments -->
</div><!-- .inner -->
</div><!-- #body -->
<div id="jq-footer" class="jq-clearfix">
<div id="jq-credits">
<p id="jq-copyright">© 2012 <a href="http://jquery.org/">The jQuery Foundation</a></p>
<p id="jq-hosting"><a href="http://mediatemple.net/" class="jq-mediaTemple">Web hosting by Media Temple</a> | <a href="http://jquery.org/sponsors">View sponsors</a></p>
</div>
<div id="jq-footerNavigation">
<ul>
<li class="jq-download jq-first"><a href="http://docs.jquery.com/Downloading_jQuery"><span class="jq-shadow">Download</span><span>Download</span></a></li>
<li class="jq-documentation"><a href="http://docs.jquery.com/"><span class="jq-shadow">Documentation</span><span>Documentation</span></a></li>
<li class="jq-bugTracker"><a href="http://dev.jquery.com/"><span class="jq-shadow">Bug Tracker</span><span>Bug Tracker</span></a></li>
<li class="jq-discussion jq-last"><a href="http://docs.jquery.com/Discussion"><span class="jq-shadow">Discussion</span><span>Discussion</span></a></li>
</ul>
</div><!-- /#secondaryNavigation -->
</div><!-- /#footer -->
</div><!-- /#siteContain -->
<script src="./jQuery The Write Less, Do More, JavaScript Library_files/donate.js" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1076265-1']); _gaq.push(['_trackPageview']); _gaq.push(['_setDomainName', '.jquery.com']);
(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);})();
</script>
</body></html>