function D() { var cks = document.getElementsByTagName("input"); var a = new Array(); for (var i = 0; i < cks.length; i++) { if (cks[i].type == "checkbox" && cks[i].checked) { a.unshift(cks[i].title); } } $.ajax({ type: "get", dataType: "text", url: "../controller/Delete_message.ashx", data: {"MeeageId":a}, beforeSend: function() { $("#HeadDiv").text("Send...").show("slow") }, complete: function() { $("#HeadDiv").text("Send end...").hide("slow"); }, success: function(msg) { alert(msg); } }) }后台代码: context.Response.Write( context.Request.Params["MessageId"]) 这样获取是空值 怎么办哦?
- 2 回答
- 0 关注
- 563 浏览
添加回答
举报
0/150
提交
取消