摘要: 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 阅读全文
posted @ 2012-04-21 23:52 gzh4455 阅读(927) 评论(0) 推荐(1) 编辑
摘要: 显示页面function createXMLHttpRequest(){ if(window.ActiveXObject){ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } else if(window.XMLHttpRequest){ xmlHttp = new XMLHttpRequest(); }}//创建XMLHttpRequest对象createXMLHttpRequest();function callServer(){ //获取表单中的数据 var users ... 阅读全文
posted @ 2012-04-21 23:38 gzh4455 阅读(277) 评论(0) 推荐(0) 编辑