//url请求url param相应参数{key:param}
$.post(url,param,function(data){
var text = "<table border='1'>";
$.each(data,function(i){
var obj = $(this);
text += "<tr>"
$.each(obj,function(key,val){
text+="<td>"+obj[key]+"</td>";
});
text += "</tr>"
});
text += "</table>";
$("#showtab").html(text);
},"json");
html
<div id="showtab"></div>