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
});
}
});