var data = [
{
"parent": "Home",
"child": [
]
},
{"parent": "Services",
"child": [
{"title":"Infrastruture"},
{"title":"Development"}
]
},
{
"parent": "Sector",
"child": [
{"title":"Recruitment Consultant"},
{"title":"Change Management"},
{"title":"Industrial Relations"}
]
},
]
JSON對象我想要做一個橫向菜單相對於這個JSON。我是新的json對象。所以我該如何做到這一點?
你嘗試過什麼嗎? – 2013-02-21 11:54:41
是的..我做了這個使用jq widgets.but在那裏我用id。但我想要像上面提到的代碼的JSON。 – Niths 2013-02-21 11:55:48