jQuery处理JSON数据

	function deleteAcco(accoId) {
		$.ajax({
		   type: "POST",
		   url: "<%=basePath%>accounting/baseInfoAction.do?method=delete&accoId=" + accoId,
		   success: function(msg){
		   		var json;
		   		eval("json=" + msg + ";")
		   		alert(json.msg);
		   		window.location.reload();
		   }
		}); 
	}

你可能感兴趣的:(java,jquery,json,Ajax)