62,046
社区成员
发帖
与我相关
我的任务
分享
$.ajax({
type: "GET",
url: 'AjaxHandler/json.ashx',
dataType: "html",
success: function (msg) {
var m = eval("(" + msg + ")");
$("#list").text(m.url);
},
error: function (errormsg) {
$("#list").val("出错了");
}
});
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
context.Response.Write("{success:true,url:\"admin.aspx\"}");
}