首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年9月1日

摘要: 新建一般处理程序ajax.ashx<%@ WebHandler Language="C#" Class="ajax" %>using System;using System.Web;public class ajax : IHttpHandler { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; if (!string.IsNullOrEmpty(context.Request. 阅读全文

posted @ 2010-09-01 17:55 达奇 阅读(324) 评论(0) 推荐(0) 编辑

摘要: 把if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");改为if(navigator.appVersion.match(/8./i)=='8.' || navigator.appVersion.match(/7./i)=='7.'){if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "onclick(event)"); //IE8 or IE7} else {if (element. 阅读全文

posted @ 2010-09-01 15:38 达奇 阅读(670) 评论(0) 推荐(0) 编辑