$.ajax({
type : "POST",
url : "xxxxxxxxxxxxxxxx,
success : function(data) {
--对data进行数据处理
});
render :inline =>"" #控制器中的响应
$.getJSON(encodeURI("/xxx/xxx/xxx_xxx?xxx=" + xxx), function(data) {
--对data进行操作
});
$.ajax({
type : "POST",
url : "xxxxxxxxxxxxxxxx,
success : function(data) {
--对data进行数据处理
});
render :inline =>"" #控制器中的响应
$.getJSON(encodeURI("/xxx/xxx/xxx_xxx?xxx=" + xxx), function(data) {
--对data进行操作
});