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

Ajax ½ø¶ÈÌõÉèÖã¨UpdateProgress£©

<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="act" %>
<mce:style type="text/css"><!--
.backDiv
{
filter: alpha(opacity=30); /*IE*/
opacity: 0.3;
background-color: #666;
position: absolute;
text-align: center;
vertical-align: middle;
left:0px;
top: 0;
z-index: 100009;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=30);
border: none;
width:expression(window.screen.availWidth);
height:expression(document.body.clientHeight);


}
.BlockArea
{
border: solid 1px #5BA5BD;
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.BlockArea_HeadTr { background-image: url(../../../Images/GridView/BlockAreaTitle.gif); background-color:Transparent; background-repeat:repeat; height: 25px; color: #2B546A; font-weight: bold;}
--></mce:style><style type="text/css" mce_bogus="1"> .backDiv
{
filter: alpha(opacity=30); /*IE*/
opacity: 0.3;
background-color: #666;
position: absolute;
text-align: center;
vertical-align: middle;
left:0px;
top: 0;
z-index: 100009;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=30);
border: none;
width:expression(window.screen.availWidth);
height:expression(document.body.clientHeight);


}
.BlockArea
{
border: solid 1px #5BA5BD;
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.BlockArea_HeadTr { background-image: url(../../../Ima


Ïà¹ØÎĵµ£º

AJAX¼¼ÊõÈëÃÅÖ¸µ¼

ʲôÊÇ AJAX?
¡¡¡¡AJAX (Òì²½ JavaScript ºÍ XML) ÊǸöвúÉúµÄÊõÓï,רΪÃèÊöJavaScriptµÄÁ½ÏîÇ¿´óÐÔÄÜ.ÕâÁ½ÏîÐÔÄÜÔÚ¶àÄêÀ´Ò»Ö±±»ÍøÂ翪·¢ÕßËùºöÂÔ,Ö±µ½×î½üGmail, Google suggestºÍgoogle MapsµÄºá¿Õ³öÊÀ²ÅʹÈËÃÇ¿ªÊ¼Òâʶµ½ÆäÖØÒªÐÔ.
¡¡¡¡ÕâÁ½Ïî±»ºöÊÓµÄÐÔÄÜÊÇ:
¡¡¡¡ÎÞÐèÖØÐÂ×°ÔØÕû¸öÒ³Ãæ±ãÄÜÏò·þÎñÆ÷·¢ËÍÇëÇó.
¡¡¡ ......

»ùÓÚAJAX·þÎñÆ÷ÍÆCometʵÏÖ

Êý¾Ý±íwords½á¹¹
CREATE TABLE `words` (                                                                           & ......

Ajax add_beginRequest

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!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 runat=" ......

Ajax ¸´ÔÓÊý¾ÝÀàÐÍʹÓûù´¡

¸´ÔÓÊý¾ÝÀàÐÍʹÓûù´¡
•¹«ÓÐÊôÐÔ»ò¹«ÓÐField»á±»ÊͷźͽÓÊÜ
•ÈÝÆ÷¶ÔÏó
–ʵÏÖIList½Ó¿ÚµÄ¶ÔÏó
–ʵÏÖIDictionary½Ó¿ÚµÄ¶ÔÏó
•Key±ØÐëÊÇString
WebService2.cs Code£º
using System;
using System.Collections;
using System.Web;
using System.Web.Services;
using System.Web.Service ......

jQuery Ajax È«½âÎö

jQuery Ajax È«½âÎö
±¾ÎĶÌÖ·£ºhttp://s8.hk/0itq
<!--
.ajax div{
border: solid 1px red;
}
-->
// <![CDATA[
$(function(){

$("#btnajax").click(function(){
$.ajax({
type: "get",
url: "/rss",
beforeSend: function(XMLHttpRequ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ