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

Ajax¼ì²â×¢²áÓû§ÊÇ·ñ´æÔÚ(.NET)

HTML´úÂëÈçÏÂ:
LoginValidate.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginValidate.aspx.cs" Inherits="LoginValidate" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ÑéÖ¤Óû§ÃûÊÇ·ñ´æÔÚ</title>
<script type="text/javascript">
    var xmlHttp;
    function createXMLHttpRequest()
    {
        if(window.ActiveXObject)
        {
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        else if(window.XMLHttpRequest)
        {
            xmlHttp = new XMLHttpRequest();
        }
    }
    //´¦Àí·½·¨
    function CheckUserName()
    {
        createXMLHttpRequest();
        var url= "LoginValidate.ashx?username="+document.getElementById("username").value;
        xmlHttp.open("GET",url,true);
        xmlHttp.onreadystatechange=ShowResult;
        xmlHttp.send(null);
        //document.getElementById("Msg").innerHTML='';
    }
    //»Øµ÷·½·¨
    function ShowResult()
    {
        if(xmlHttp.readyState==4)
        {
            if(xmlHttp.status=


Ïà¹ØÎĵµ£º

ASP.NETµÄÍêÈ«¿ÉÊÓ»¯Ajax¿ª·¢²âÊÔ

ÎÒ×Ô¼ºÐ´¸ö¿ìËÙÈëÃŵÄASP.NETµÄÍêÈ«¿ÉÊÓ»¯Ajax¿ª·¢£¬ÓÃVisual studio2008ÀïÃæ×Ô´øµÄAJAX Extensions¿Ø¼þ¡£
1£¬Ê×ÏÈ£¬ÍùÒ³ÃæÀïÃæ×§Ò»¸öScriptManager¿Ø¼þ£¨×¢²á½Å±¾£¬±ØÐëÔÚËùÓзþÎñÆ÷¿Ø¼þ֮ǰ³öÏÖ£©
2£¬ÍùÒ³ÃæÀï×§Ò»¸öUpdatePanel¿Ø¼þ£¨¾Ö²¿Ë¢Ð¿ؼþ£©
3£¬ÔÚUpdatePanel¿Ø¼þµÄÃæ°åÀקһ¸öTextBox¿Ø¼þTextBox1ºÍÒ»¸öLa ......

ASP.NET Ajax Video Notes

ASP.NET Ajax Videoѧϰ±Ê¼Ç
5. Make Client-Side Network Callbacks with ASP.NET AJAX?
Notes:
ÔÚ<ScriptManager>ÖÐÌí¼Ó<Services>
4. Implement Dynamic Partial-Page Updates with ASP.NET AJAX?
Notes:
UpdatePanel¿ÉÒÔÍê³É²¿·ÖÒ³ÃæµÄ¸üÐÂ
Èç¹ûButtonÔÚUpdatePanelÖУ¬¼´Ê¹ÔÚPageLoad()Öаüº¬¸üÐÂË ......

jQuery Ajax È«½âÎö

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

ajax Àý×Ó

 <script type="text/javascript">
  //¶¨ÒåXMLHttpRequest¶ÔÏó±äÁ¿
  var xmlHttpRequest;
  
  /*
   * ´´½¨XMLHttpRequest¶ÔÏó¡£
   * ±¾º¯ÊýÖ÷ÒªÍê³ÉXMLHttpRequest¶ÔÏóµÄ´´½¨£¬ºËÐÄ·ÖΪÒÔÏÂÁ½¸ö²¿·Ö£º
   * µÚÒ»²½£ºÊ×ÏÈÅж ......

³¬¿áµÄAjax¿ò¼Ü£ºqooxdoo1.0·¢²¼

qooxdooÊÇÒ»¸ö×ÔÓÉÃâ·ÑµÄAjax GUI¿ò¼Ü£¬ÏÖÔÚËüµÄ1.0°æ±¾ÌṩÁËÏÂÔØ¡£ qooxdooµÄ·¢ÒôΪ ['ku:ksdu:],£¬ËüÌṩÁËʹÓÃJavaScriptʵÏÖ¼¸ºõËùÓУ¬½¨Á¢Àà×ÀÃæWebÓ¦ÓóÌÐòËùÐèµÄÓû§½çÃæ¡£¸ù¾Ý¿ª·¢ÕßHTML£¬ CSS»ò DOM֪ʶ²»ÊDZØÐèµÄ¡£Õâ¸ö¼Ü¹¹¿ÉÒÔÔËÐÐÔÚËùÓÐÖ÷Á÷µÄä¯ÀÀÆ÷ÉÏ£¬ÀýÈ磺Internet Explorer, Firefox, Safari, OperaºÍChr ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ