| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 5 |
<title>jQuery: The Write Less, Do More, JavaScript Library</title> |
| 6 |
<link rel="stylesheet" href="http://static.jquery.com/files/rocker/css/reset.css" type="text/css" /> |
| 7 |
<link rel="stylesheet" href="http://static.jquery.com/files/rocker/css/screen.css" type="text/css" /> |
| 8 |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
| 9 |
<script>!window.jQuery && document.write('<script src="http://code.jquery.com/jquery-1.4.2.min.js"><\/script>');</script> |
| 10 |
<script src="http://static.jquery.com/files/rocker/scripts/custom.js"></script> |
| 11 |
<link rel="alternate" type="application/rss+xml" title="jQuery Blog" href="http://jquery.com/blog/feed/" /> |
| 12 |
<link rel="shortcut icon" href="http://static.jquery.com/favicon.ico" type="image/x-icon"/> |
| 13 |
</head> |
| 14 |
<body> |
| 15 |
<div id="jq-siteContain"> |
| 16 |
<div id="jq-header"> |
| 17 |
<a id="jq-siteLogo" href="http://jquery.com" title="jQuery Home"><img src="http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif" width="215" height="53" alt="jQuery: Write Less, Do More." /></a> |
| 18 |
|
| 19 |
<div id="jq-primaryNavigation"> |
| 20 |
<ul> |
| 21 |
<li class="jq-jquery jq-current"><a href="http://jquery.com/" title="jQuery Home">jQuery</a></li> |
| 22 |
<li class="jq-ui"><a href="http://jqueryui.com/" title="jQuery UI">UI</a></li> |
| 23 |
<li class="jq-mobile"><a href="http://jquerymobile.com/" title="jQuery Mobile">Mobile</a></li> |
| 24 |
<li class="jq-plugins"><a href="http://plugins.jquery.com/" title="jQuery Plugins">Plugins</a></li> |
| 25 |
<li class="jq-meetup"><a href="http://meetups.jquery.com/" title="jQuery Meetups">Meetups</a></li> |
| 26 |
<li class="jq-forum"><a href="http://forum.jquery.com/" title="jQuery Forum">Forum</a></li> |
| 27 |
<li class="jq-blog"><a href="http://blog.jquery.com/" title="jQuery Blog">Blog</a></li> |
| 28 |
<li class="jq-about"><a href="http://jquery.org/about" title="About jQuery">About</a></li> |
| 29 |
<li class="jq-donate"><a href="http://jquery.org/donate" title="Donate to jQuery">Donate</a></li> |
| 30 |
</ul> |
| 31 |
</div><!-- /#primaryNavigation --> |
| 32 |
|
| 33 |
<div id="jq-secondaryNavigation"> |
| 34 |
<ul> |
| 35 |
<li class="jq-download jq-first"><a href="http://docs.jquery.com/Downloading_jQuery">Download</a></li> |
| 36 |
|
| 37 |
<li class="jq-documentation"><a href="http://docs.jquery.com">Documentation</a></li> |
| 38 |
<li class="jq-tutorials"><a href="http://docs.jquery.com/Tutorials">Tutorials</a></li> |
| 39 |
<li class="jq-bugTracker"><a href="http://dev.jquery.com/">Bug Tracker</a></li> |
| 40 |
<li class="jq-discussion jq-last"><a href="http://docs.jquery.com/Discussion">Discussion</a></li> |
| 41 |
</ul> |
| 42 |
</div><!-- /#secondaryNavigation --> |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
</div><!-- /#header --> |
| 47 |
|
| 48 |
<div id="jq-content" class="jq-clearfix"> |
| 49 |
|
| 50 |
<div id="jq-intro" class="jq-clearfix"> |
| 51 |
<h2><span class="jq-jquery"><span>jQuery</span></span> is a new kind of JavaScript Library.</h2> |
| 52 |
<p>jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. <strong>jQuery is designed to change the way that you write JavaScript.</strong></p> |
| 53 |
<ul class="jq-checkpoints jq-clearfix"> |
| 54 |
<li><a href="http://docs.jquery.com/Tutorials" title="Lightweight Footprint" class="jq-thickbox">Lightweight Footprint</a> |
| 55 |
<div class="jq-checkpointSubhead"> |
| 56 |
|
| 57 |
<p>About 31KB in size <em>(Minified and Gzipped)</em></p> |
| 58 |
</div> |
| 59 |
</li> |
| 60 |
<li><a href="http://docs.jquery.com/Tutorials" title="CSS3 Compliant" class="jq-thickbox">CSS3 Compliant</a> |
| 61 |
<div class="jq-checkpointSubhead"> |
| 62 |
<p>Supports CSS 1-3 selectors and more!</p> |
| 63 |
</div> |
| 64 |
|
| 65 |
</li> |
| 66 |
<li><a href="http://docs.jquery.com/Tutorials" title="Cross-browser" class="jq-thickbox">Cross-browser</a> |
| 67 |
<div class="jq-checkpointSubhead"> |
| 68 |
<p>IE 6.0+, FF 3.6+, Safari 5.0+, Opera, Chrome</p> |
| 69 |
</div> |
| 70 |
</li> |
| 71 |
</ul> |
| 72 |
</div><!-- /#intro --> |
| 73 |
|
| 74 |
<div id="jq-download"> |
| 75 |
<h2>Grab the latest version!</h2> |
| 76 |
<form action="" method="get"> |
| 77 |
<fieldset> |
| 78 |
<legend>Choose your compression level:</legend> |
| 79 |
<div id="jq-compression" class="jq-clearfix"> |
| 80 |
<input type="radio" name="name" value="http://code.jquery.com/jquery-1.7.2.min.js" id="jq-production" checked="checked" /> |
| 81 |
<a class="jq-radioToggle name jq-checked" href="http://code.jquery.com/jquery-1.7.2.min.js">jquery-1.7.2.min.js</a> |
| 82 |
<label for="jq-production">Production <em>(<strong>32KB</strong>, Minified and Gzipped)</em></label> |
| 83 |
<input type="radio" name="name" value="http://code.jquery.com/jquery-1.7.2.js" id="jq-development" /> |
| 84 |
<a class="jq-radioToggle name" href="http://code.jquery.com/jquery-1.7.2.js">jquery-1.7.2.js</a> |
| 85 |
<label for="jq-development">Development <em>(<strong>247KB</strong>, Uncompressed Code)</em></label> |
| 86 |
</div> |
| 87 |
<button type="submit" name="downloadBtn" id="jq-downloadBtn"><span>Download</span></button> |
| 88 |
<p class="jq-version"><strong>Current Release:</strong> v1.7.2</p> |
| 89 |
</fieldset> |
| 90 |
</form> |
| 91 |
<script> |
| 92 |
jQuery("#jq-download form").submit(function(){ |
| 93 |
window.location = jQuery(this).find("input:checked").val(); |
| 94 |
return false; |
| 95 |
}); |
| 96 |
</script> |
| 97 |
</div><!-- /#download --> |
| 98 |
|
| 99 |
<div id="jq-whosUsing"> |
| 100 |
<h2 class="jq-whosUsing">Who's using jQuery?</h2> |
| 101 |
<ul class="jq-whosUsing"> |
| 102 |
<li><a href="http://www.google.com" class="jq-google" title="Google">Google</a></li> |
| 103 |
<li><a href="http://www.dell.com" class="jq-dell" title="Dell">Dell</a></li> |
| 104 |
<li><a href="http://www.bankofamerica.com" class="jq-boa" title="Bank of America">Bank of America</a></li> |
| 105 |
<li><a href="http://www.mlb.com" class="jq-mlb" title="Major League Baseball">Major League Baseball</a></li> |
| 106 |
<li><a href="http://www.digg.com" class="jq-digg" title="Digg">Digg</a></li> |
| 107 |
<li><a href="http://www.nbc.com" class="jq-nbc" title="NBC">NBC</a></li> |
| 108 |
<li><a href="http://www.cbs.com" class="jq-cbs" title="CBS News">CBS News</a></li> |
| 109 |
<li><a href="http://www.netflix.com" class="jq-netflix" title="Netflix">Netflix</a></li> |
| 110 |
<li><a href="http://www.technorati.com" class="jq-technorati" title="Technorati">Technorati</a></li> |
| 111 |
<li><a href="http://www.mozilla.org" class="jq-mozilla" title="Mozilla">Mozilla</a></li> |
| 112 |
<li><a href="http://www.wordpress.org" class="jq-wordpress" title="Wordpress">Wordpress</a></li> |
| 113 |
<li><a href="http://www.drupal.org" class="jq-drupal" title="Drupal">Drupal</a></li> |
| 114 |
</ul> |
| 115 |
</div><!-- /#jq-whosUsing --> |
| 116 |
|
| 117 |
|
| 118 |
<div id="jq-learnjQuery" class="jq-clearfix"> |
| 119 |
|
| 120 |
<div id="jq-learnNow"> |
| 121 |
<h2>Learn <span class="jq-jquery"><span>jQuery</span></span> Now!</h2> |
| 122 |
<p>What does jQuery code look like? Here's the quick and dirty:</p> |
| 123 |
<div class="jq-codeDemo jq-clearfix"> |
| 124 |
<pre><code>$("p.neat").addClass("ohmy").show("slow");</code></pre> |
| 125 |
<a href="http://docs.jquery.com/Tutorials" class="jq-runCode">Run Code</a> |
| 126 |
|
| 127 |
<p class="neat"><strong>Congratulations!</strong> You just ran a snippet of jQuery code. Wasn't that easy? There's lots of example code throughout the <strong><a href="http://docs.jquery.com/">documentation</a></strong> on this site. Be sure to give all the code a test run to see what happens.</p> |
| 128 |
</div> |
| 129 |
</div><!-- /#learnNow --> |
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
<div id="jq-resources" class="clearfix"> |
| 134 |
<h2>jQuery Resources</h2> |
| 135 |
|
| 136 |
<div class="jq-gettingStarted"> |
| 137 |
<h3>Getting Started With jQuery</h3> |
| 138 |
<ul> |
| 139 |
<li><a href="http://docs.jquery.com/How_jQuery_Works">How jQuery Works</a></li> |
| 140 |
<li><a href="http://docs.jquery.com/Tutorials">Tutorials</a></li> |
| 141 |
<li><a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries">Using jQuery with other libraries</a></li> |
| 142 |
<li><a href="http://docs.jquery.com/">jQuery Documentation</a></li> |
| 143 |
|
| 144 |
</ul> |
| 145 |
</div> |
| 146 |
<div class="jq-devResources"> |
| 147 |
<h3>Developer Resources</h3> |
| 148 |
<ul> |
| 149 |
<li><a href="http://docs.jquery.com/Discussion">Mailing List</a></li> |
| 150 |
<li><a href="http://docs.jquery.com/Downloading_jQuery">Source code / Git</a></li> |
| 151 |
|
| 152 |
<li><a href="http://docs.jquery.com/Plugins/Authoring">Plugin Authoring</a></li> |
| 153 |
<li><a href="http://dev.jquery.com/newticket/">Submit a New Bug Report</a></li> |
| 154 |
</ul> |
| 155 |
</div> |
| 156 |
</div><!-- /#resources --> |
| 157 |
|
| 158 |
</div><!-- /#learnjQuery --> |
| 159 |
|
| 160 |
<div id="jq-books" style="width:auto; float: none"> |
| 161 |
<h2>Books About jQuery</h2> |
| 162 |
|
| 163 |
<ul> |
| 164 |
<li class="jq-clearfix" style="width:270px;float:left;clear:none;"> |
| 165 |
<a href="http://link.packtpub.com/S3Fr9Q" class="jq-bookImg"><img src="http://learningjquery.kswedberg.netdna-cdn.com/wp-content/themes/ljq/images/ljq3rded.jpg" alt="Learning jQuery Third Edition" width="55" height="70" /></a> |
| 166 |
<h3><a href="http://link.packtpub.com/S3Fr9Q">Learning jQuery Third Edition</a></h3> |
| 167 |
<div class="jq-author">Karl Swedberg and <br />Jonathan Chaffer</div> |
| 168 |
<a href="http://link.packtpub.com/S3Fr9Q" class="jq-buyNow">Buy Now</a> |
| 169 |
</li> |
| 170 |
<li class="jq-clearfix" style="width:270px;float:left;clear:none;"> |
| 171 |
<a href="http://www.packtpub.com/jquery-1-4-animation-techniques-beginners-guide/book/mid/1803111nkj15" class="jq-bookImg"><img src="http://static.jquery.com/books/jquery-animation-beginners-guide.jpg" alt="jQuery 1.4 Animation Techniques: Beginners Guide" width="55" height="70" /></a> |
| 172 |
<h3><a href="http://www.packtpub.com/jquery-1-4-animation-techniques-beginners-guide/book/mid/1803111nkj15">jQuery 1.4 Animation Techniques: Beginners Guide</a></h3> |
| 173 |
<div class="jq-author">Dan Wellman</div> |
| 174 |
<a href="http://www.packtpub.com/jquery-1-4-animation-techniques-beginners-guide/book/mid/1803111nkj15" class="jq-buyNow">Buy Now</a> |
| 175 |
</li> |
| 176 |
<li class="jq-clearfix" style="width:270px;float:left;clear:none;"> |
| 177 |
<a href="http://www.packtpub.com/jquery-plugin-development-beginners-guide/book/mid/1911104odmdz" class="jq-bookImg"><img src="http://static.jquery.com/books/jquery-plugin-developers-guide_thumb.jpg" alt="jQuery Plugin Development Beginner's Guide" width="55" height="70" /></a> |
| 178 |
<h3><a href="http://www.packtpub.com/jquery-plugin-development-beginners-guide/book/mid/1911104odmdz">jQuery Plugin Development Beginner's Guide</a></h3> |
| 179 |
<div class="jq-author">Guilio Bai</div> |
| 180 |
<a href="http://www.packtpub.com/jquery-plugin-development-beginners-guide/book/mid/1911104odmdz" class="jq-buyNow">Buy Now</a> |
| 181 |
</li> |
| 182 |
|
| 183 |
<li class="jq-clearfix" style="width:270px;float:left;clear:left;"> |
| 184 |
<a href="http://www.manning.com/affiliate/idevaffiliate.php?id=648_176" class="jq-bookImg"><img src="http://static.jquery.com/books/jquery-in-action-2ed_thumb.jpg" alt="jQuery in Action" width="55" height="70" /></a> |
| 185 |
<h3><a href="http://www.manning.com/affiliate/idevaffiliate.php?id=648_176">jQuery in Action</a></h3> |
| 186 |
<div class="jq-author">Bear Bibeault |
| 187 |
<br />and Yehuda Katz</div> |
| 188 |
<a href="http://www.manning.com/affiliate/idevaffiliate.php?id=648_176" class="jq-buyNow">Buy Now</a> |
| 189 |
</li> |
| 190 |
<li class="jq-clearfix" style="width:270px;float:left;clear:none;"> |
| 191 |
<a class="jq-bookImg" href="http://jqueryenlightenment.com/"><img src="http://static.jquery.com/books/jquery-enlightenment_thumb.jpg" alt="jQuery Enlightenment" width="55" height="70" /></a> |
| 192 |
<h3><a href="http://jqueryenlightenment.com/">jQuery Enlightenment</a></h3> |
| 193 |
<div class="jq-author">Cody Lindley</div> |
| 194 |
<a href="http://jqueryenlightenment.com/" class="jq-buyNow">Buy Now</a> |
| 195 |
</li> |
| 196 |
</ul> |
| 197 |
|
| 198 |
</div><!-- /#news --> |
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
</div><!-- /#content --> |
| 203 |
|
| 204 |
|
| 205 |
<div id="jq-footer" class="jq-clearfix"> |
| 206 |
|
| 207 |
<div id="jq-credits"> |
| 208 |
<p id="jq-copyright">© 2010 <a href="http://jquery.org/">The jQuery Project</a></p> |
| 209 |
<p id="jq-hosting">Sponsored by <a href="http://mediatemple.net" class="jq-mediaTemple">Media Temple</a> and <a href="http://jquery.org/sponsors">others</a>.</p> |
| 210 |
</div> |
| 211 |
|
| 212 |
<div id="jq-footerNavigation"> |
| 213 |
<ul> |
| 214 |
<li class="jq-download jq-first"><a href="http://docs.jquery.com/Downloading_jQuery">Download</a></li> |
| 215 |
<li class="jq-documentation"><a href="http://docs.jquery.com">Documentation</a></li> |
| 216 |
|
| 217 |
<li class="jq-tutorials"><a href="http://docs.jquery.com/Tutorials">Tutorials</a></li> |
| 218 |
<li class="jq-bugTracker"><a href="http://dev.jquery.com/">Bug Tracker</a></li> |
| 219 |
<li class="jq-discussion jq-last"><a href="http://docs.jquery.com/Discussion">Discussion</a></li> |
| 220 |
</ul> |
| 221 |
</div><!-- /#secondaryNavigation --> |
| 222 |
|
| 223 |
</div><!-- /#footer --> |
| 224 |
</div><!-- /#siteContain --> |
| 225 |
<script src="http://static.jquery.com/donate/donate.js" type="text/javascript"></script> |
| 226 |
<script type="text/javascript"> |
| 227 |
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1076265-1']); _gaq.push(['_trackPageview']); _gaq.push(['_setDomainName', '.jquery.com']); |
| 228 |
(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 229 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 230 |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);})(); |
| 231 |
</script> |
| 232 |
</body> |
| 233 |
</html> |