jQuery


 
jQuery John Resig  JavaScript 

Ajax  DOM


jQuery4


jQuery Core

jQuery Ajax  DOM

jQuery UI

jQuery Core

Sizzle

jQuery使使

QUnit

使JavaScript

ぱかっす

jQuery CorejQuery UI 


jQuery API 1.4.4 

jQuery UI API 1.8.4 




jQuery 使


jQuery  Download 
1.4使

使


jQueryJavaScript  jQuery 使
<html>
<head>
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
        // jQueryを利用してコードを書く
    </script>
</head>
<body>

</body>
</html>




$() HTMLDOMCSS
(Ver 1.2XPath PluginXPath Compatibility Plugin)


id test_result  img (0) width 2

$("#test_result > img:even").attr("width", function(){return this.width*2});



id test_result  img 0(0)

$("#test_result > img:gt(0):visible").hide();







メソッドチェーン


jQuery



$("p.test")    // p.test 要素の jQuery オブジェクト
    .css("backbround", "green")                   // 背景を green に
    .click(function(){ alert($(this).text()); })  // クリックされたらテキストを表示
    .find("div.yellow")                           // 子孫要素の div.yellow を取得
        .css("border", "5px solid blue");             // 枠線を 5px 実線 青 に



jQuery
Plugin RepositoryjQuery


IE 6.0FF 2 Safari 3.0Opera 9.0ChromeVer1.4



jQueryMinified()Uncompressed() 


Minified
 Minify()  

Uncompressed
   


ライブラリバージョンサイズ
jQuery(Uncompressed)1.4.2160.0 KB
jQuery(Minified)1.4.270.4 KB
jQuery(Minified and Gzipped)1.4.224.0 KB



Gzipped  gzip   gzip (Accept-Encoding: gzip)使
 Content Negotiaionmod_rewrite 使Accept-Encoding  Web  


ページトップヘ