function Delete(ids,url){ jQuery.ajax({ type : "POST",contentType: "application/json; charset=utf-8",dataType : "json",url : url,data : '{"ids":['+ids+']}',//"ids="+ids+"&random="+Math.random(),success : function(result) { }); }
后台代码如下:
public JsonResult Delete(long[] ids) { }原文链接:https://www.f2er.com/ajax/166102.html