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

С°×ÇóÖúajaxÁª¶¯±íµ¥ÎÊÌâ

½ñÌìÀÏ´ó¸øÌá³öÁËÒ»¸öAJAXµÄÐèÇ󣬾ÍÊÇ˵£ºÒ³Ãæ×ó±ßÓиö±í¸ñ£¬±í¸ñÖÐÓÐ3¸ö¶àÑ¡°´Å¥£¬°´Å¥ÓÐ×Ô¼ºµÄÖµ£¡µ±ÎÒÑ¡ÔñÒ»¸ö¶àÑ¡°´Å¥µÄʱºò£¬Óұ߱í¸ñ³öÏָöàÑ¡°´Å¥µÄÖµºÍID£¡
 ÎÒûÓÐ×ö¹ýAJAXµÄ¶«Î÷£¬Íû´ó¼Ò¸øÓè°ïÖú£¡ÔÚÏߵȣ¡Ð»Ð»ÁË°¡

<script type="text/javascript">
var $=function(id){return document.getElementById(id);};
var $$=function(tag){return document.createElement(tag);};
function gridCheck1Fun(info){
var btbody=$('btbody');
var pNode=info.parentNode.parentNode;

var tr=$$("TR")
btbody.appendChild(tr);

var td = $$("TD");
tr.appendChild(td);
td.innerHTML="&nbsp;"

for(var i=1;i<pNode.childNodes.length;i++){

td = $$("TD");
tr.appendChild(td);
td.innerHTML="&nbsp;"+pNode.childNodes[i].innerHTML
}
}
</script>
±í1
<table width="100%" border="0">
  <tr>
  <td width="3%">&nbsp;</td>
  <td width="64%">ID</td>
  <td width="33%">Name</td>
  </tr>
  <tr>
  <td><input name="gridCheck1" type="checkbox" id="gridCheck1" onClick="gridCheck1Fun(this)"></td>
  <td>01</td>
  <t


Ïà¹ØÎÊ´ð£º

AjaxÎÞË¢ÐÂÏÂÔØ Çë¸÷λ´óϺÃÇ°ï°ïæ°¡~

<script language="javascript">
  var XMLHttpReq;
  var cont=true;
//´´½¨XMLHttpRequest¶ÔÏó     
    function createXMLHttpRequest ......

ajaxµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÅóÓѵÄÒ»¸öASP.NETÒýÓÃÁËajax¼¼Êõ£¬binĿ¼ÏÂÃæÒ²ÓÐajaxpro.dll£¬ÎªÊ²Ã´·þÎñÆ÷²»ÐèÒª°²×°ajax²å¼þÒ²¿ÉÒÔÔËÐÐÄØ£¬ÕÕÀí˵Ӧ¸ÃÒª°²×°ASPAJAXExtSetup.msi
ÓÐ ajaxpro.dll¾Í¿ÉÒÔÁË

²»Í¬µÄaajx×é¼þ
AjaxPro¾ÍÊÇ¿ò¼ ......

ajaxÎÊÌâ °ïæ¿´Ï - Web ¿ª·¢ / ASP

JScript code:
function upnum(h_id){
var url = "InfoOnOff.asp?ID="+ h_id
var ajax = InitAjax();
ajax.open("GET", url, true);
ajax.onreadystatechange = function() {
if (ajax ......

ajaxºóOnSubmitÎÞЧ£¿ - Web ¿ª·¢ / Ajax

a.asp
------------------------------------------------<SCRIPT language=javascript src="check.js"></SCRIPT>
<input type="button" value="²âÊÔ" onclick=&quo ......

¹ØÓÚajaxË¢ÐÂÎÊÌâ - Web ¿ª·¢ / Ajax

ÎÒ×öÁËÒ»¸ö¿¼ÊÔϵͳ£¬¶ÔAjax²»Ê죬ÓÃÁËAjaxµÄ¶«Î÷£¬ÓÃÒ»¸öUpdatePanelºÍTimerÀ´Ê±Ê±Ë¢ÐÂÓû§Ëù×öµÄÌâµ½Êý¾Ý¿â£¬Äܹ»Ê±Ê±Ë¢Ð£¬ÎÒÓÖʹÓÃÒ»¸öUpdatePanelºÍTimerÀ´×öµ¹¼Æʱ£¬Ò²¾ÍÊÇʹÓÃÁËÁ½¸öUpdatePanel£¬Õâ¸öʱºòÓÐÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ