我这些天写了个页面!全是用JS处理的!最后要提交数据到Handler.ashx的时候遇到两个问题。请教一下!
1、$.ajax({type: "Post", url: "handler/PostJsonToSave.ashx", ifModified: true, dataType: "json", data: { RoleId: RoleId, Json: FunctionId },success: function (data) {alert(data);}});
这个方法在提交到Handler.ashx时候出现了context.Request.QueryString["RoleId"] == null的情况。2、FunctionId 里的数据有点大了!超过1K了。这种情况下ajax类有木有什么解决方案可以用!在线期待。