【发布时间】:2013-02-22 09:54:08
【问题描述】:
我在创建 jquery-menu 时遇到问题。我从 json 对象创建了一个水平菜单。 我的页面是
var data = [
{
"parent": "Home",
"child": [
]
},
{
"parent": "Instructions",
"child": [
]
},
{
"parent": "Administration",
"child": [
{"title":"Recruitment"},
{"title":"Management"},
{"title":"Relations"}
]
},
];
这里我有 3 个子字段用于“招聘”字段。如何使用 json 创建子子项?
【问题讨论】:
标签: jquery html css json jquery-ui