ºÃ¾ÃûÓÐд²©¿ÍÁË£¬²»ÊÇÎÒÍü¼ÇÁËÕâ¸öÏ°¹ß£¬¶øÊÇÕâÒ»Äê°ëµÄʱ¼äÎÒÔÚ¾Àú¼¼ÊõµÄתÐÍ£¬ËùÒÔÔÚ.NETÉÏÃæµÄ¼¼ÊõûÓÐÌ«¶àµÄÉîÈëÁË¡£
´ÓÔٴλص½·²¿Í¿ªÊ¼£¬ÎÒÒѾ´ÓÒ»ÃûÓÐ3Ä꿪·¢¾ÑéµÄ.NET¹¤³ÌʦÏòÇ°¶Ë£¨H5£©È«ÃæתÐÍ¡£ÖÁÓÚΪʲôתÐÍ£¬²»ÔÚÕâƪ²©¿Í׸ÊöÁË£¡
È¥Äê5Ô¿ªÊ¼£¬ÎÒ°Ñ×Ô¼ºµ±×÷Ò»¸ö¾ø¶ÔµÄÐÂÊÖ£¬´Ó×î»ù±¾µÄ£¬×îÔʼµÄ¼¼ÊõѧÆð£¨HTML£¬CSS£¬DIV²¼¾Ö£¬PSÇÐͼ£¬javascriptµÈµÈµÈµÈ£©¡£
µ½ÏÖÔÚ£¬Ò²»¹ÔÚ¼ÌÐøѧϰ¡£jQueryÔ´Âëѧϰ£¬ÎÒÒ»Ö±¾õµÃÊDZØÐëµÄ£¬²»ÊÇÒª¶àôÊìϤʹÓ㬵±È»Ô´ÂëÊìϤÁË£¬Ê¹ÓÃÒ²¾ÍË®µ½Çþ³ÉÁË¡£Ñ§Ï°jQueryÔ´ÂëµÄ¹ý³ÌÊÇÒ»¸ö¼ÓÉîÈÏʶºÍÉîÈëѧϰjavascriptµÄ¹ý³Ì£¬Õâ·Ç³£ÖØÒª¡£
Õâ¸öÐòÁеIJ©¿Í£¬ÎÒû´òËãдjQueryµÄÌ«¶àϸ½Ú²¿·Ö£¬¶øÊÇÕÒ³öÎÒѧϰ¹ý³ÌÖУ¬ÎÒ×Ô¼º¾õµÃ±È½ÏÓÐȤ£¬±È½ÏÄܹ»¼ÓÉî¶ÔjavascriptµÄÈÏʶµÄ²¿·ÖдÏÂÀ´Óë´ó¼Ò·ÖÏí¡£Èç¹û´óţ·¹ýÓÐʲôͲۣ¬Ò²ÇëËæÒ⣬ÎÒÀÖÒâ½ÓÊܲ¢¸Ä½ø¡£
ÎÒÑ¡ÔñÁËjQuery2.1.4Ä¿Ç°×îеİ汾À´Ñ§Ï°£¨3.0°æ±¾»¹Ã»Õýʽ·¢²¼£©£¬ÒòΪʡȥһЩ¼æÈÝÐÔ·±ËöµÄ´úÂ벿·Ö£¬¸üÄÜÇåÎú¿´µ½jQueryµÄ±¾ÖÊ¡£
Õâ¸öÐòÁеIJ©¿Í»á²Î¿¼Êé¼® ¡¶jQuery¼¼ÊõÄÚÄ»:ÉîÈë½âÎöjQuery¼Ü¹¹Éè¼ÆÓëʵÏÖÔÀí¡· £¬ÒÔ¼° jQuery¹ÙÍø £¬Îһ᳢ÊÔ¸ü¶àµÄ´úÂëʵ¼ùÀ´¼Ç¼²©¿ÍÀïÃæ¡£
Ò»£¬×î´ÖÂԵĹǼÜÈçÏ (function(global, factory) {if (typeof module === "object" && typeof module.exports === "object") {
module.exports = global.document ?
factory(global, true) :
function(w) {
if (!w.document) {
throw new Error("jQuery requires a window with a document");
}
return factory(w);
};
} else {
factory(global);
}
}(typeof window !== "undefined" ? window : this, function(window, noGlobal) {
//...
}))
ÕâÀïÖ÷ÒªÒ»¸öjavascriptµã£ºÄäÃûº¯Êý×Ôµ÷ÓûòÕß˵×ÔÖ´ÐС£Õâô·â×°µÄÄ¿µÄÊÇΪÁËÂú×ãCommonjs¹æ·¶£¬µ«ÊÇÎÒ¾õµÃûʲôÓã¬Ä¿Ç°seajsÎüÊÕAMDºÍCommonjsµÄÓŵ㣬Äܹ»ºÜºÃµÄÂú×ãÒªÇó¡£
¶øÇÒÎÒÏàÐÅÄ£¿é»¯»á³ÉΪһ¸ö±ê×¼£¬¾ÍÏñhtml5Ò»ÑùºÜ¶àÊôÐÔºÍЧ¹ûÒѾ²»ÐèÒªjsÀ´ÊµÏÖÁË¡£
ÄäÃûº¯Êý×Ôµ÷ÓûòÕß˵×ÔÖ´ÐУ¬Ð´·¨Óкܶ࣬ÎÒÁоÙһЩÈçÏ£º
(function(){console.log(1);})();(function(){console.log(2);}());
!function(){console.log(3);}();
+function(){console.log(4);}();
-function(){console.log(5);}();
~function(){console.log(6);}();
void function(){console.log(7);}();
new function(){console.log(8);}();
¿ªÆª¾Íµ½ÕâÀï°É£¡
±¾ÎÄÇ°¶Ë£¨javascript£©Ïà¹ØÊõÓï:javascriptÊÇʲôÒâ˼ javascriptÏÂÔØ javascriptȨÍþÖ¸ÄÏ javascript»ù´¡½Ì³Ì javascript ÕýÔò±í´ïʽ javascriptÉè¼Æģʽ javascript¸ß¼¶³ÌÐòÉè¼Æ ¾«Í¨javascript javascript½Ì³Ì
·ÖÒ³£º12
תÔØÇë×¢Ã÷
±¾ÎıêÌ⣺ÎÒ¶ÁjQuery2.1.x¿ªÆª
±¾Õ¾Á´½Ó£º
·ÖÏíÇëµã»÷£º
1.·²CodeSecTeamתÔصÄÎÄÕÂ,¾ù³ö×ÔÆäËüýÌå»òÆäËû¹ÙÍø½éÉÜ,Ä¿µÄÔÚÓÚ´«µÝ¸ü¶àµÄÐÅÏ¢,²¢²»´ú±í±¾Õ¾ÔÞͬÆä¹ÛµãºÍÆäÕæʵÐÔ¸ºÔð£»
2.תÔصÄÎÄÕ½ö´ú±íÔ´´×÷Õß¹Ûµã,Óë±¾Õ¾Î޹ء£ÆäÔ´´ÐÔÒÔ¼°ÎÄÖгÂÊöÎÄ×ÖºÍÄÚÈÝδ¾±¾Õ¾Ö¤Êµ,±¾Õ¾¶Ô¸ÃÎÄÒÔ¼°ÆäÖÐÈ«²¿»òÕß²¿·ÖÄÚÈÝ¡¢ÎÄ×ÖµÄÕæʵÐÔ¡¢ÍêÕûÐÔ¡¢¼°Ê±ÐÔ£¬²»×÷³öÈκα£Ö¤»ò³ÐÈô£»
3.È籾վתÔظåÉæ¼°°æȨµÈÎÊÌâ,Çë×÷Õß¼°Ê±ÁªÏµ±¾Õ¾,ÎÒÃǻἰʱ´¦Àí¡£
µÇ¼ºó¿ÉÓµÓÐÊÕ²ØÎÄÕ¡¢¹Ø×¢×÷ÕßµÈȨÏÞ...
×¢²á µÇ¼
¡¡