Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

AJAXʵÏÖÊó±êÐü¸¡»ñÈ¡Öµ

 ajaxʵÏÖ½«Êó±ê·Åµ½Í¼±êÉÏ£¬Ï·½»áÏÔʾºÍ¸ÃͼÓйصÄÐÅÏ¢
¿Í»§¶Ë´úÂëmouseover.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Êó±êÐü¸¡²âÊÔ</title>
</head>
<script type="text/javascript" language="javascript">
var xmlHttp;
function createXMLHttpRequest(){
 if(window.ActiveXObject){
  xmlHttp = new ActiveXObject("microsoft.XMLHTTP");
 }
 else if(window.XMLHttpRequest){
  xmlHttp = new XMLHttpRequest();
 }
}
function sendRequest(t){
 var id = t.id
 createXMLHttpRequest(); 
 var url = "mouseover_check.php?page=" +t.id ; 
 xmlHttp.onreadystatechange = callback;
 xmlHttp.open('GET',url,true);
 xmlHttp.send(null);
}
function callback(){
 if(xmlHttp.readyState == 4){
  if(xmlHttp.status == 200){
   document.getElementById("show").innerHTML = xmlHttp.responseText;
  }
 }
}
</script>
<body>
<p>
  <input type="text" value="here" id="1" onmouseover="sendRequest(this)" />
</p>
<p><br/>
  <input type="text" value="haha" id="2" onmouseover="sendRequest(this)" />
  </div>
</p>
<p></p>
<span id="show"></span>
</body>
</html>
·þÎñÆ÷¶Ë´úÂ룺
mouseover_check.php
<?php
header("Content-type:text/html;charset=gb2312");
header("cache-control:no-cache,must-revalidate");
$name = $_GET['page'];
if($name == '1'){
 echo "111";
}
else{
 echo "222";
}  
?>


Ïà¹ØÎĵµ£º

AJAXС½á

Ô­³ö´¦:http://blog.163.com/zwx_gis/blog/static/32434435200971072634757/
Web±à³ÌÏà¹Ø   2009-08-10 19:26   ÔĶÁ15   ÆÀÂÛ0  
 
Ajax (Asynchronous JavaScript and XML) ÊǶàÖÖ¼¼ÊõµÄ¼¯ºÏ£¬°üÀ¨JavaScript¡¢XHTML¡¢CSS¡¢DOM¡¢XML¡¢XSTL¡¢XMLHttpRequestµÈ£¬ÆäÖÐXHTM ......

FlexÓëAJAX

        FlexÓÐרÓеıàÒë½âÎöÆ÷£¬ÓÉÓÚAJAXÉæ¼°µ½JAVASCRIPT¼¼Êõ£¬ËùÒÔ»¹ÊÇÃæ¶Ô¿çä¯ÀÀÆ÷µÄ·³ÈÅ¡£ajaxÔÚÒ³ÃæÉÏ´¦ÀíһЩ¼òµ¥Âß¼­Ê±£¬ÐèÒªÓÃJAVASCRIPTÀ´´¦Àí£¬Äã°²ÐĵÄÔÚÄãµÄä¯ÀÀÆ÷ÉϱàÒë½âÎöͨ¹ýÁË£¬ÄãÒÔΪ´ó¹¦¸ã³ÉÁË£¬¿ÉÊÇÊâ²»Öª£¬½Óõà¶øÀ´µÄÊÇ¿Í»§µÄͶËߣ¬ÒòΪÄãÔ­ÒÔΪ³É¹¦µÄÒ³ÃæÔÚËûà ......

jQuery Ajax È«½âÎö

jQuery Ajax È«½âÎö
±¾ÎĶÌÖ·£ºhttp://s8.hk/0itq
±¾ÎĵØÖ·: jQuery Ajax È«½âÎö
±¾ÎÄ×÷ÕߣºQLeelulu
תÔØÇë±êÃ÷³ö´¦£¡
jQueryȷʵÊÇÒ»¸öͦºÃµÄÇáÁ¿¼¶µÄJS¿ò¼Ü£¬ÄÜ°ïÖúÎÒÃÇ¿ìËٵĿª·¢JSÓ¦Ó㬲¢ÔÚÒ»¶¨³Ì¶ÈÉϸıäÁËÎÒÃÇдJavaScript´úÂëµÄÏ°¹ß¡£
·Ï»°ÉÙ˵£¬Ö±½Ó½øÈëÕýÌ⣬ÎÒÃÇÏÈÀ´¿´Ò»Ð©¼òµ¥µÄ·½·¨£¬ÕâЩ·½·¨¶¼ÊǶÔjQu ......

AjaxµÄºËÐĶÔÏóXMLHttpRequest

   XMLHttpRequestÊÇXMLHTTP×é¼þµÄ¶ÔÏó£¬Í¨¹ýÕâ¸ö¶ÔÏó£¬Ajax¿ÉÒÔÏñ×ÀÃæÓ¦ÓóÌÐòÒ»Ñùֻͬ·þÎñÆ÷½øÐÐÊý¾Ý²ãµÄÐÅÏ¢½»»»£¬¶ø²»ÓÃÿ´Î¶¼Ë¢ÐÂÒ³Ã棬Ҳ²»ÓÃÿ´Î½«Êý¾Ý´¦ÀíµÄ¹¤×÷¶¼½»¸ø·þÎñÆ÷À´×ö£»ÕâÑù¼´¼õÇáÁË·þÎñÆ÷µÄ¸ºµ£ÓÖ¼Ó¿ìÁËÏìÓ¦Ëٶȡ¢Ëõ¶ÌÁËÓû§µÈ´ýµÄʱ¼ä¡£
    XMLHttpRequestÊÇAjax¼¼ÊõÖÐ×î ......

MOSS AJAX WebParts¿ª·¢»·¾³ÉèÖÃ

Öö¥£ºMOSS SP1¿ªÊ¼Ö§³ÖAJAX¡£Ê×ÏÈÈ·ÈÏÄãµÄMOSS°æ±¾ºÅ
Ïë±Ø¿ª·¢¹ýMOSS AJAX¿Ø¼þµÄ¶¼ÖªµÀ£¬ÎªÁËʵÏÖAJAX£¬±ØÐë¶ÔMOSSµÄ»·¾³½øÐдóÁ¿µÄÉèÖá£ÍøÉÏÓдóÁ¿´ËÀàµÄÎÄÕ£¬ÆäÖÐ×îÁ÷ÐеÄ×ö·¨Ó¦¸ÃÊÇ¿¯µÇÔÚmoss¿ª·¢ÍŶÓblogÉϵģ¨µã»÷ÏÂÃæµÄURL½øÈ룩¡£
£¨http://blogs.msdn.com/sharepoint/archive/2007/03/02/integrating-asp-net- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ