62,047
社区成员
发帖
与我相关
我的任务
分享
前台
$(function () {
$.post("WSXFY.ashx", {"action":"getpagecount" }, function (data, status) {
for (var i = 1; i <= data; i++) {
var td = $("<td><a href=''>" + i + "</a></td>");
$("#trPage").append(td);
}
});
});
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = "text/plain";
string action=context.Request["action"];//无法获取action的值