var temp = { "100" = ["submenu 4", "submenu 5", "submenu 6"],
"136" = ["submenu 10", "submenu 11", "submenu 12"],
"125" = ["submenu 19", "submenu 20", "submenu 21"],
"99" = ["submenu 16", "submenu 17", "submenu 18"],
"77" = ["submenu 13", "submenu 14", "submenu 15"],
"70" = ["submenu 1", "submenu 2", "submenu 3"],
"4" = ["submenu 7", "submenu 8", "submenu 9"] };
如何将=替换为:符号?或者如何在 jquery 函数中迭代上述 temp?
请给出解决方案。