ÓÃjavascript»º´æajaxÊý¾Ý
ÎÒÃǶ¼ÖªµÀ£¬ajaxÄÜÌá¸ßÒ³ÃæÔØÈëµÄËٶȵÄÖ÷ÒªÔÒòÊÇͨ¹ýajax¼õÉÙÁËÖظ´Êý¾ÝµÄÔØÈ룬ÕæÕý×öµ½°´Ðè»ñÈ¡£¬¼ÈÈ»Èç´Ë£¬ÎÒÃÇÔÚдajax³ÌÐòµÄʱºò²»·ÁËÍ·ðË͵½Î÷£¬ÔÚ¿Í»§¶ËÔÙ×öÒ»´Î»º´æ,½øÒ»²½Ìá¸ßÊý¾ÝÔØÈëËٶȡ£ÄǾÍÊÇÔÚÔØÈëÊý¾ÝµÄͬʱ½«Êý¾Ý»º´æÔÚä¯ÀÀÆ÷ÄÚ´æÖУ¬Ò»µ©Êý¾Ý±»ÔØÈ룬ֻҪҳÃæδˢУ¬¸ÃÊý¾Ý¾ÍÓÀÔ¶µÄ»º´æÔÚÄÚ´æÖУ¬µ±Óû§Ôٴβ鿴¸ÃÊý¾Ýʱ£¬Ôò²»ÐèÒª´Ó·þÎñÆ÷ÉÏÈ¥»ñÈ¡Êý¾Ý£¬¼«´óµÄ½µµÍÁË·þÎñÆ÷µÄ¸ºÔغÍÌá¸ßÁËÓû§µÄÌåÑé¡£
ʵÏÖ·½Ê½£º »ù±¾Ë¼ÏëÊǽ«ÒѾloadÏÂÀ´µÄÊý¾Ý´æÔÚjavascriptÊý×é±äÁ¿ÖУ¬µ±ÔÙ´ÎÓöµ½ÇëÇóʱ£¬Ïȼì²é¸ÃÊý¾ÝÊÇ·ñÒѾÇëÇó£¬ÊÇÔòÖ±½Óµ÷ÓÃÄÚ´æÖеÄÊý¾Ý£¬·ñÔò±ãÏò·þÎñÆ÷ÇëÇóÊý¾Ý¡£
Ïà¹ØÎĵµ£º
ÔÚjavascript¿ØÖÆdivÖ®¼äµÄÍâ±ß¾àʱ£¬´úÂëдµ½
document.getElementById("").style.marginTop=20;
Õâ¸öÔÚIEä¯ÀÀÆ÷ÖпÉÒÔ£¬µ«ÊÇÔÚchromeÖоͲ»ÐУ¬Õâ¸öÎÊÌâÊÇÓ¦¸Ã
document.getElementById("").style.marginTop="20px";
¸÷¸öä¯ÀÀÆ÷Öв»Í¬µÄÎÊÌâÒªÇ󲻵ȶԴý£¬ÕâЩÌìѧÁËdiv+cssÔÚÉèÖø÷¸öä¯ÀÀÆ÷ÊDz»Í¬µÄÅäÖã¬ÒªÕë¶Ôÿ¸ö ......
×î½ümatch001.comÏîÄ¿×öÒ»¸ö·¢Ë͵ç×ÓϲÌûµÄ¹¦ÄÜ£¬·¢ÏÖQQÓÍÏäÃ÷ÐÅƬ¹¦Äܲ¶à¡£ÓÚÊǺõ¹¹Ë¼×ö³ÉÄǸöÑù×Ó¡£
Óм¸µãÐèҪʵÏֵģº
±³¾°Í¼Æ¬¡¢½á»éÏàƬµÄ¼ÓÔØ¡£
N¶àµÄʼþ°ó¶¨
¸úÏà²áÊý¾Ý°ó¶¨£¬Ñ¡ÔñÏà²áÁгöËùÓÐÏàƬ£¬²¢ÇÒÏàƬ·ÖÒ³¡£ËùÓеĶ¼AJAXʵÏÖ
³õʼ»¯Ò»¸öDIVÓÃÀ´¿ØÖÆÉϲãͼƬλÖÃÒƶ¯£¬¸ù¾Ý²»Í¬±³¾°Í¼Æ¬£¬³õʼ»¯²»²» ......
1¡¢ajax¼¼ÊõµÄ±³¾°
²»¿É·ñÈÏ£¬ajax¼¼ÊõµÄÁ÷ÐеÃÒæÓÚgoogleµÄ´óÁ¦Íƹ㣬ÕýÊÇÓÉÓÚgoogle earth¡¢google suggestÒÔ¼°gmailµÈ¶Ôajax¼¼ÊõµÄ¹ã·ºÓ¦Ó㬴ßÉúÁËajaxµÄÁ÷ÐС£¶øÕâÒ²ÈÃ΢Èí¸Ðµ½ÎޱȵÄÞÏÞΣ¬ÒòΪÔçÔÚ97Ä꣬΢Èí±ãÒѾ·¢Ã÷ÁËajaxÖеĹؼü¼¼Êõ£¬²¢ÇÒÔÚ99ÄêIE5ÍƳö֮ʱ£¬Ëü±ã¿ªÊ¼Ö§³ÖXmlH ......
javascript³õѧÕß
——È«Ãæѧϰ¶ÔÏó¸ÅÄî
±¾ÎĽéÉÜÁ˼¸ºõËùÓйØÓÚ¶ÔÏóµÄ»ù±¾¸ÅÄʲôÊǶÔÏó£¬ÈçºÎ´´½¨¶ÔÏ󣬶ÔÏóµÄÊôÐÔµÄÉèÖúͶÁÈ¡£¬É¾³ýÊôÐԵķ½·¨£¬¹¹Ô캯Êý£¬¶ÔÏóÔÐÍ£¬¸¸À࣬×ÓÀ࣬¼Ì³ÐµÈµÈ¡£
1.¶ÔÏó
* ¶ÔÏóÊÇÒ»ÖÖ¸´ºÏÊý¾ÝÀàÐÍ£¬ËüÃǽ«¶à¸öÊý¾ÝÖµ¼¯ÖÐÔÚÒ»¸öµ¥ÔªÖУ¬¶øÇÒÔËÐÐʹÓÃÃû×ÖÀ´´æÈ¡ÕâЩֵ¡£½âÊ ......
ECMAScriptÓÐÎÞÓô洢µ¥ÔªÊÕ¼¯³ÌÐò£¬µ±ÔÚÔÙûÓжԶÔÏóµÄÒýÓÃʱ£¬³Æ¸Ã¶ÔÏ󱻷ϳý£¨dereference£©ÁË¡£
ÔËÐÐÎÞÓô洢µ¥ÔªÊÕ¼¯³ÌÐòʱ£¬ËùÓзϳýµÄ¶ÔÏ󶼱»Ïú»Ù¡£
°Ñ¶ÔÏóµÄËùÓÐÒýÓö¼ÉèÖÃΪnull£¬¿ÉÒÔÇ¿ÖÆÐԵķϳý¶ÔÏó£¬ÀýÈ磺
var oObject = new Object;
.......
&n ......