0
我使用的是jQueryI想与NODE_ID,如_type这是JSON如下图所示如何在AciTree jQuery插件的Ajax调用添加自定义查询参数
[{
"id":"2",
"label":"Title for folder",
"branch":[],
"inode":true,
"open":false,
"icon":"folder",
"_type":"library"
}]
我一起发送自定义查询参数正与ajaxhook
试图如下图所示
ajaxHook: function (item, settings) {
// the default implementation changes the URL by adding the item ID at the end
alert(this.itemData._type);
settings.url += (item ? this.getId(item) : '');
}
我不能用这个方法让我的自定义属性_type
。
它不工作 – digi