<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ÎÞ±êÌâÎĵµ </title>
</head>
<script language="Jav ......
ÏÐÀ´ÎÞÊ£¬²âÁËÏÂXMLHttpRequest¶ÔÏ󣬽á¹ûÈ´²»ÊÇËùÏëµÄÄÇÑù£¿£¿£¿£¿£¿
JScript code:
var xhr=false;
if(window.XMLHttpRequest) {
xhr=new XMLHttpRequest();
alert("XMLHttpRequest");//ΪʲôIE7£¬8»áÊÇÕâ¸ö£¿£¿£¿
} else {
try {
xhr=new Act ......
ÎÒÓÃdwr×öajax±íµ¥ÑéÖ¤£¬ËùÓÐÑéÖ¤¶¼Í¨¹ýÁË£¬executeÀïµÄ·½·¨Ò²¿ÉÒÔÖ´ÐУ¬µ«¾ÍÊDz»ÄÜ·µ»Øsuccess¶ÔÓ¦µÄÒ³Ã棬Ôõô»ØÊ£¿
Äã·µ»ØµÄÐÅÏ¢ÊÇʲô¸ñʽµÄ£¬ÊÇjsonÂð£¿ÏñÕâÑùµÄ{flag:'1',msg:'³É¹¦'}
ÒýÓÃ
Äã·µ»ØµÄÐÅÏ¢ÊÇʲô¸ñʽµÄ£¬ÊÇjsonÂð£¿ÏñÕâÑùµÄ{flag:'1',msg:'³É¹¦'}
²»Êǵ ......
ajax£¬²»ÓÃˢУ¬ÎÒºÜϲ»¶£¬ÎÒÏÖÔÚдҳÃæʱ£¬Ö»Òª²»ÊÇתҳ£¬ÎÒ¶¼Ê¹ÓÃajax£¬¿ÉÊÇÕâÑùÓëstruct£¬ÓгåÍ»¡£
ÕâÑùµÄ»°£¬structµÄactionÓëformbeanÀ඼Óò»×ÅÁË£¿
ÎÊÌâ1£º
µ±Ìá½»ºÜ¶àÊý¾Ýʱ£¬±È·½ËµÓÐÓû§Ãû¡¢µç»°¡¢ÁªÏµÈË¡¢×ÊÁÏ¡¢Ç©Ãû¡£¡£¡£ÎÒʹÓÃajaxʱ£¬Ö»ÄÜÒ»¸öÒ»¸ö×ֶεĴ«£¬²»ÄÜ·â×°³É¶ÔÏóÁË¡£¡£¡£ Õâ ......
Ä¿µÄÊǼæÈÝ ie6.7.8 ÒÔ¼°»ðºü£¬
ÇëÎÊ¿ÉÒÔ×öµ½Âð£¿Ö®Ç°¿´µ½ÄÇЩ˵ ²»ÄÜ·ÃÎÊ¿Í»§¶ËµÄÎļþ·¾¶¡£
ÔÚie7 8 Óë»ðºüÄÄÀïµÄÈ·²»ÐС£
Çë´ó¼Ò ¸ø¸öÀý×Ó¡£×îºÃÊÇÔ´´úÂëµÄ¡£¡£Ð»Ð»
¾ÍûÓÐÈË»ØÂð£¿
ûÓÐÈË»Ø °ïÄ㶥
ie6ºÃÓã¬7.8Ò»°ã¶¼Ã»ÎÊÌâ
Õâ¸öµÄÓÿò¼Ü°É£¬ÄãÊÇÉÏ´«ÍêÔ¤ÀÀ£¿
ÇëÎÊ¿ÉÒÔ×öµ½Âð£¿Ö®Ç°¿´µ½ÄÇЩ˵ ......
Ò»°ãµÄÍøÕ¾¼´Ê±Í¨Ñ¶ÖÐÓÐÕâôһ¸ö¹¦ÄÜ£º
·Ã¿ÍÏûÏ¢Ô¤Öª¹¦Äܲ»½ö¿ÉÒÔ¿´µ½·Ã¿ÍµÄʵʱÊäÈë¶Ô»°ÄÚÈÝ£¬»¹¿ÉÒÔÅжϸ÷ÿ͵ÄʵʱÊäÈë״̬£¨ÕýÔÚÊäÈë»òÍ£Ö¹ÊäÈ룩£¬ÊäÈë»áÄÚÈÝÔÚµÚһʱ¼äÄÚ³öÏÖÔÚ¼´Ê±Í¨ÐÅÈí¼þµÄʵʱ¼à¿ØÎı¾¿òÖС£
Õâ¸ö¹¦ÄÜͨ¹ýJAVASCRIPTºÍajaxÈçºÎʵÏֵģ¿Çë¸ßÊÖ½â´ð¡£
¼ÓÒ»¸öʼþ£ºonkeyup¾Í¿ÉÒÔÁË
Õ ......