"jQuery ??? ?? ???"? jQuery ?? ??? ?? ?? ??????. ? jQuery ??? ?? ????? ??? jQuery ??, ??, ??, ?????, ?? ??, ?? ?? ?? ???? ????. WEB ????? ??? ????? ? ??? ?????. ?? ??? ?????! ??: jQuery? JavaScript ????????. jQuery? JavaScript ?????? ?? ????? jQuery? ??? ????.
jQuery? HTML? JavaScript ?? ??? ????? ??? ???? JavaScript ????????. ? ?? ??? 2006? 1? BarCamp NYC?? John Resig? ?? ???????. ?? Dave Methvin? ??? ???? ???? ????. ???? ?? ?? ??? ?? 10,000? ???? ? 65%? ?? ?? ?? ?? JavaScript ?????? jQuery? ?????.
jQuery? MIT ????? ?? ????? ??? ?? ?? ????????. jQuery? ?? ??? ???? ?? ?? ??, DOM(?? ?? ??) ?? ??, ????? ?? ??, ??? ??, Ajax ???? ?? ? ??? ??? ?? ??? ? ????.
jQuery? ????? ? ?? ????? ??? ? ?? ??? ?????. ?? ?? ???? ?? ??? ?? ?? ? ?????, ?? ?? ? ?? ??? ?? ?? ??? ???? ? ????. ??? ?? ??? ?? jQuery ?????? ??? ?? ? ???? ? ??????? ?? ? ????.
?: jQuery? ??? ?? HTML, CSS, JavaScript? ?? ?? ??? ?????.
Microsoft? Nokia? ?? ????? jQuery ???? ??????. Microsoft? ??? Microsoft ?? ASP.NET AJAX ????? ? ASP.NET MVC ?????? ?? ???? ?? jQuery? Visual Studio? ??? ?? Nokia? jQuery? ? ??? ?? ?? ?? ???? ??????. ?????? ?? 1.16?? jQuery? ?????.
jQuery ?? 1.3 ???? ??? CSS(Cascading Style Sheet) ??? ?? Sizzle? ???????. ??? Packed ??? ?? ??? ???? ??? ??? ???? ???? ?? ?? ???? ??? ?? ?? ??? ? ?? ???? ???, ?? Google AJAX Libraries API? ?? ?? ????? ???? ????. jQuery js ?? ?????? Packed ??? ?? ??? ??????.
? ?? jQuery ????? ??? ?????!
? ?? jQuery ????
Instance
<!DOCTYPE html> <html> <head> <script src="/jquery/jquery-1.11.1.min.js"> </script> <script> $(document).ready(function(){ $("p").click(function(){ $(this).hide(); }); }); </script> </head> <body> <p>如果您點(diǎn)擊我,我會(huì)消失。</p> <p>點(diǎn)擊我,我會(huì)消失。</p> <p>也要點(diǎn)擊我哦。</p> </body> </html>
???? ?? ?
??? ????? ??? "???? ??" ??? ?????
jQuery ?????? ?? ?? DOM, ???, ?? ? Ajax ??? ???? JavaScript ?????. jQuery? ?? ????? ?? ???? ???? ?? ??? ? ??? ???? ? ???? ??? ? ????. jQuery?? MaxCDN? ????? ??? ?? ????(CDN)? ????. Google? Microsoft? jQuery? ??????.
?: jQuery ????? jQuery? ???? ??? ???? ??? ??? ? ??? ???. ??? ?? ?? PHP ??? ????jQuery ????? ???? ?????. ???? ????? ??? ?? ????. ??? ?? ??? ???.
jQuery ??
jQuery?? ??? ?? ??? ????.
DOM ?? ??? ?? ?? ???? ?? ?? ??? ?? Sizzle(jQuery ????? ???)? ?????.
CSS ???? ??? DOM ??, ?? ?? ?? ? ??(?: ID ? ???)? DOM
Events
?? ?? ? ?????
Ajax
Deferred ? Promise ???? ??? ???? ?? ???? ?????. ??? ?? ??
JSON ?? ??
????? ?? ??
?? ??? ?? ?? ??
?? ??????? ?? ??? ??? ??? ?? ?????? ?? ??? ?????. inArray() ? Each()
?? ????(??? ????? ???? ? ?) ??
? jQuery ???? ????? ??? ??
? jQuery ???? ???? ?? jQuery ???? ?? ???? ????. jQuery ??, jQuery ?? ??, jQuery ???, jQuery ???, jQuery ??, jQuery HTML, jQuery ??, jQuery AJAX, jQuery ???? ?? ?????.
?: ? ????? ? ??? ?? jQuery ??? ???? ????. "?? ??" ??? ?? ???? ??? ????? ? ? ????. ??? ??? jQuery? ? ? ???? ???? ? ??? ???.
?? jQuery ?? ?? ?? ???
? ??? ???? ?? ?? ??? ?? ???? ??? ?? ???????
?? ?
- jQuery Treeview 2016-10-18
- jQuery Tooltip 2016-10-18
- jQuery Prettydate 2016-10-18
- jQuery 密碼驗(yàn)證 2016-10-18
- jQuery Message 2016-10-18
- jQuery Autocomplete 2016-10-18
- jQuery Accordion 2016-10-18
- jQuery Validate 2016-10-18
?? ??
- ? ??? ?? ??? ?? ?? ?? 2021-12-10
- ??? ?? ? ???? ????? ??: HTML5/CSS3/ES6/NPM/Vue/...[??] 2022-09-30
- Gulp ???? ??? ???? 2022-04-18
- ?? Gao Luofeng CSS3 ??? ???? 2022-04-20
- AngularJS ?? ? ?????? ?? ?? ??? ???? 2022-04-18
- Ajax ?? ?? 2022-04-13
- MUI ????? ?? ??? ???? 2022-04-13
- ??? ?? ?? ?? ?? 2019-01-10