日期:2014-05-19 浏览次数:20689 次
public class ImageAction { private ArrayList<HashMap<String,String>> pks; public String update() { for (Map map: pks){ doSth(map.get("seqNo")); ....... } } public ArrayList<HashMap<String, String>> getPks() { return pks; } public void setPks(ArrayList<HashMap<String, String>> pks) { this.pks = pks; } }
j$.ajax({ url:approveUrl, data: {pks: {"seqNo":"111"}}, dataType:'json', type:'post', traditional: true, success:function (response) { hideProgressBar(parent.document) if (response.result==false){ alert(response.msg); return; } // document.location.reload(); } })