Jquery WebService请求格式无效
WebSercie中代码
[WebMethod] public ArrayList HelloWorld() { ArrayList al = new ArrayList(200); for (int i = 0; i < 10; i++) { ArrayList alItem = new ArrayList(); alItem.Add(i); alItem.Add(i+"ab"); al.Add(alItem); } return al; }$.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "/WebService/ProductGroupService.asmx/HelloWorld", data: "{}", success: function(data) { alert("Success"); }, error: function(err) { alert(err.responseText); } });