ajax请求传递数据

$.ajax({
url : '${webroot}/pro_ExpertManager!getExpertSpecByBM.action',
type : 'POST',
dataType : 'JSON',
data : {
'expertSpec.zybm' : node.id
},
success : function(result) {
$('#dg-spec-' + saveType).datagrid('appendRow', {
zybm : result.zybm,
yjzy : result.yjzy,
ejzy : result.ejzy,
sanjzy : result.sanjzy,
sijzy : result.sijzy,
wjzy : result.wjzy
});
}
});

posted @ 2018-02-05 14:19  为伊喝得老陈醋  阅读(190)  评论(0编辑  收藏  举报