Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : ajax

Õâ¸öAJAXÄÄÀï´íÁËÄØ

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ÎÞ±êÌâÎĵµ </title>
</head>
<script language="Jav ......

»áAjaxÂðÄ㣿

ÏÐÀ´ÎÞÊ£¬²âÁËÏÂXMLHttpRequest¶ÔÏ󣬽á¹ûÈ´²»ÊÇËùÏëµÄÄÇÑù£¿£¿£¿£¿£¿
JScript code:

var xhr=false;
if(window.XMLHttpRequest) {
xhr=new XMLHttpRequest();
alert("XMLHttpRequest");//ΪʲôIE7£¬8»áÊÇÕâ¸ö£¿£¿£¿
} else {
try {
xhr=new Act ......

ajax±íµ¥ÑéÖ¤ÎÊÌ⣿

ÎÒÓÃdwr×öajax±íµ¥ÑéÖ¤£¬ËùÓÐÑéÖ¤¶¼Í¨¹ýÁË£¬executeÀïµÄ·½·¨Ò²¿ÉÒÔÖ´ÐУ¬µ«¾ÍÊDz»ÄÜ·µ»Øsuccess¶ÔÓ¦µÄÒ³Ã棬Ôõô»ØÊ£¿
Äã·µ»ØµÄÐÅÏ¢ÊÇʲô¸ñʽµÄ£¬ÊÇjsonÂð£¿ÏñÕâÑùµÄ{flag:'1',msg:'³É¹¦'}

ÒýÓÃ
Äã·µ»ØµÄÐÅÏ¢ÊÇʲô¸ñʽµÄ£¬ÊÇjsonÂð£¿ÏñÕâÑùµÄ{flag:'1',msg:'³É¹¦'}

²»Êǵ ......

ÈçºÎ¼¯³ÉajaxÓëstructµÄÓŵã

ajax£¬²»ÓÃˢУ¬ÎÒºÜϲ»¶£¬ÎÒÏÖÔÚдҳÃæʱ£¬Ö»Òª²»ÊÇתҳ£¬ÎÒ¶¼Ê¹ÓÃajax£¬¿ÉÊÇÕâÑùÓëstruct£¬ÓгåÍ»¡£

ÕâÑùµÄ»°£¬structµÄactionÓëformbeanÀ඼Óò»×ÅÁË£¿

ÎÊÌâ1£º

µ±Ìá½»ºÜ¶àÊý¾Ýʱ£¬±È·½ËµÓÐÓû§Ãû¡¢µç»°¡¢ÁªÏµÈË¡¢×ÊÁÏ¡¢Ç©Ãû¡£¡£¡£ÎÒʹÓÃajaxʱ£¬Ö»ÄÜÒ»¸öÒ»¸ö×ֶεĴ«£¬²»ÄÜ·â×°³É¶ÔÏóÁË¡£¡£¡£ Õâ ......

ajax ÉÏ´«Í¼Æ¬ÒÔ¼°Í¼Æ¬Ô¤ÀÀÎÊÌâ

Ä¿µÄÊǼæÈÝ ie6.7.8 ÒÔ¼°»ðºü£¬
ÇëÎÊ¿ÉÒÔ×öµ½Âð£¿Ö®Ç°¿´µ½ÄÇЩ˵ ²»ÄÜ·ÃÎÊ¿Í»§¶ËµÄÎļþ·¾¶¡£
ÔÚie7 8 Óë»ðºüÄÄÀïµÄÈ·²»ÐС£
Çë´ó¼Ò ¸ø¸öÀý×Ó¡£×îºÃÊÇÔ´´úÂëµÄ¡£¡£Ð»Ð»
¾ÍûÓÐÈË»ØÂð£¿

ûÓÐÈË»Ø °ïÄ㶥


ie6ºÃÓã¬7.8Ò»°ã¶¼Ã»ÎÊÌâ
Õâ¸öµÄÓÿò¼Ü°É£¬ÄãÊÇÉÏ´«ÍêÔ¤ÀÀ£¿
ÇëÎÊ¿ÉÒÔ×öµ½Âð£¿Ö®Ç°¿´µ½ÄÇЩ˵ ......

jsºÍajax¶ÔÓڷÿ͵ÄʵʱÊäÈë״̬ÈçºÎ»ñµÃ£¿

Ò»°ãµÄÍøÕ¾¼´Ê±Í¨Ñ¶ÖÐÓÐÕâôһ¸ö¹¦ÄÜ£º
·Ã¿ÍÏûÏ¢Ô¤Öª¹¦Äܲ»½ö¿ÉÒÔ¿´µ½·Ã¿ÍµÄʵʱÊäÈë¶Ô»°ÄÚÈÝ£¬»¹¿ÉÒÔÅжϸ÷ÿ͵ÄʵʱÊäÈë״̬£¨ÕýÔÚÊäÈë»òÍ£Ö¹ÊäÈ룩£¬ÊäÈë»áÄÚÈÝÔÚµÚһʱ¼äÄÚ³öÏÖÔÚ¼´Ê±Í¨ÐÅÈí¼þµÄʵʱ¼à¿ØÎı¾¿òÖС£

Õâ¸ö¹¦ÄÜͨ¹ýJAVASCRIPTºÍajaxÈçºÎʵÏֵģ¿Çë¸ßÊÖ½â´ð¡£
¼ÓÒ»¸öʼþ£ºonkeyup¾Í¿ÉÒÔÁË

Õ ......
×ܼǼÊý:837; ×ÜÒ³Êý:140; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [131] [132] [133] [134] 135 [136] [137] [138] [139] [140]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ