摘要:
GetEmployee.ashx 代码<%@ WebHandler Language="C#" Class="AspNetAjaxOverview.GetEmployee" %>using System;using System.Web;using System.Web.Script.Serialization;namespace AspNetAjaxOverview{ public class GetEmployee : IHttpHandler { public void ProcessRequest(HttpContext contex 阅读全文
摘要:
显示页面function createXMLHttpRequest(){ if(window.ActiveXObject){ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } else if(window.XMLHttpRequest){ xmlHttp = new XMLHttpRequest(); }}//创建XMLHttpRequest对象createXMLHttpRequest();function callServer(){ //获取表单中的数据 var users ... 阅读全文