将选中行id传到编辑页后如何传到后台

提问 已结 1 5341
悬赏:20飞吻
将选中行的id传到编辑页之后,不用文本框接收的情况下如何使编辑页执行ajaxForm时将这个id也传到后台
$("#attrAddBtn").iMenubutton({
method:'openDialog',
extend: '#attrDg-toolbar',
iconCls: 'fa fa-plus',
btnCls: 'topjui-btn-green',
grid:{type:'treegrid',id:'treeGridDg'},
dialog:{
id:'attrAddDialog',
href:_ctx + '/html/module_tools/attribute_add.html?id={id}',
buttonsGroup:[
{text:'保存',
url:'/SimLib/moduleTools/addAttribute',
iconCls:'fa fa-plus',
handler:'ajaxForm',
btnCls:'topjui-btn-brown'
}
]
}
})
回帖
回帖须知