ajax ±¾µØ¿ÉÓà ·þÎñÆ÷²»¿ÉÓà ¼±
ÇëÎÊÎÒµÄÒ»¸öajaxÐÞ¸ÄÊý¾Ý¿âµÄ³ÌÐò ÔÚ±¾µØ²âÊÔ¿ÉÒÔ ÎªÊ²Ã´´«µ½·þÎñÆ÷ÉϾͲ»ÄÜÓÃÁË ÓÐʲô¿ÉÄܵÄÔÒò
·µ»ØÌáʾÕâ¸ö
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
ûÓÐ¸Ä mysqlµÇ¼µÄÓû§ÃûºÍÃÜÂ룿
¸Ä¹ýÁË ÆäËûµÄÁ¬½Ó¶¼¿ÉÒÔ ²éѯÊý¾Ý¿âÖ®À඼¿ÉÒÔ ¾ÍÊÇÕâ¸ö²»ÐÐ ÊDz»ÊÇȨÏÞÎÊÌâ ÎÒµÄÓû§Ãû²»ÊÇroot°¡
Êý¾Ý¿âÁ¬½ÓÎÊÌâ°É¡£
Á¬½Ó±»¾Ü¾ø£¬ÄÇÓ¦¸ÃÊÇÄãµÄÁ¬½ÓÕÊ»§ÎÊÌâ°É
Ïà¹ØÎÊ´ð£º
ÏëÖªµÀÔõôÔÚDWÖÐÔËÐÐAjax
ÎÒÔËÐеÄÎļþ±¨Õâ¸ö´í..
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening requir ......
ÏÐÀ´ÎÞÊ£¬²âÁËÏÂXMLHttpRequest¶ÔÏ󣬽á¹ûÈ´²»ÊÇËùÏëµÄÄÇÑù£¿£¿£¿£¿£¿
JScript code:
var xhr=false;
if(window.XMLHttpRequest) {
xhr=new XMLHttpRequest();
alert("XMLH ......
ÎÒÓÃdwr×öajax±íµ¥ÑéÖ¤£¬ËùÓÐÑéÖ¤¶¼Í¨¹ýÁË£¬executeÀïµÄ·½·¨Ò²¿ÉÒÔÖ´ÐУ¬µ«¾ÍÊDz»ÄÜ·µ»Øsuccess¶ÔÓ¦µÄÒ³Ã棬Ôõô»ØÊ£¿
Äã·µ»ØµÄÐÅÏ¢ÊÇʲô¸ñʽµÄ£¬ÊÇjsonÂð£¿ÏñÕâÑùµÄ{flag:'1',msg:'³É¹¦'}
Òý ......
ajax£¬²»ÓÃˢУ¬ÎÒºÜϲ»¶£¬ÎÒÏÖÔÚдҳÃæʱ£¬Ö»Òª²»ÊÇתҳ£¬ÎÒ¶¼Ê¹ÓÃajax£¬¿ÉÊÇÕâÑùÓëstruct£¬ÓгåÍ»¡£
ÕâÑùµÄ»°£¬structµÄactionÓëformbeanÀ඼Óò»×ÅÁË£¿
ÎÊÌâ1£º
µ±Ìá½»ºÜ¶àÊý¾Ýʱ£¬±È·½ËµÓ ......
ÓÃwindow.setIntervalÕâÑùµÄJS´úÂë5Ãëµ÷ÓÃÒ»´Î£¬½á¹ûIE±¨¾¯£º
¸ÃÒ³ÃæÉϵĽű¾Ôì³ÉieÔËÐлºÂý£¬Èç¹û¼ÌÐøÔËÐÐÄãµÄ¼ÆËã»ú»á±äµÃ¸üÂý£¿
´úÂëÈçÏ£º
<body onload="gLStat()">
&nbs ......