亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

jQuery ??

jQuery? ??????

jQuery = JavaScript + jQuery

jQuery? JavaScript ????????.

jQuery? JavaScript ?????? ?? ??????. ?? ??? ???

???? ?? ? ?? ??? ??? ??????

<input type="text" id="txt" />
<button type="button" onclick="get_text();">Go</button>

Go ??? ???? ???? ??? ??? ??? ??? ???? ?? JavaScript ??? ???? ??? ? ????. ???

alert(document.getElementById('txt').value);

??? jQuery? ????

alert($('#txt').val());

? ???? ??? ? ????. document.getElementById? ???? ??? ID? ?? ??? ???? jQuery? ???? $('# ') ? ?? ?? ?????


jQuery? ?? ?????: ?? ??, ? ?? ??

jQuery ??????? ?? ??? ???? ????.

  • HTML ?? ??

  • HTML ?? ??

  • CSS ??

  • HTML ??? ??

  • JavaScript ?? ?? ? ?????

  • HTML DOM ?? ? ??

  • AJAX

? : ?? Jquery? ??? ???? ?.


jQuery ?? ??

  • HTML(CSS ??, ? ???? ??? ?? ??)

  • JavaScript(jQuery? JavaScript?? ????? jQuery? ??? ??? JavaScript?? ?????.)

  • PHP(jQuery? ????? ???? ????


jQuery? ?? ?????? ??? ? ????

jQuery ????? ?? ??? ?????? JS? ?? ??? ??? ??? ?? ?? ????. , Internet Explorer 6 ??!


?? jQuery ??? ???????

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>php中文網(wǎng)(php.cn)</title>
    <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js" type="text/javascript">
    </script>
    <script>
        $(document).ready(function(){
            $("p").click(function(){
                $(this).hide();
            });
        });
    </script>
</head>
<body>
<p>如果你點(diǎn)我,我就會消失。</p>
<p>繼續(xù)點(diǎn)我!</p>
<p>接著點(diǎn)我!</p>
</body>
</html>

????? ???? ??? ???




???? ??
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(php.cn)</title> <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js" type="text/javascript"> </script> <script> $(document).ready(function(){ $("p").click(function(){ $(this).hide(); }); }); </script> </head> <body> <p>如果你點(diǎn)我,我就會消失。</p> <p>繼續(xù)點(diǎn)我!</p> <p>接著點(diǎn)我!</p> </body> </html>