PDA

View Full Version : Create Handler On Multiple Sub Menu



reang
11 May 2007, 12:15 AM
i manage to create a recursive array in JSON (the code is above)


[
{
id :"001",
text:"Menu 1",
menu:{items:[{
id:"101",
text:"Sub Menu 101",
menu:{items:[{
id:"111",
text:"Sub Menu 111" //==== i want the handler to sit here
}]
}
}]
}
},{
id :'002',
text:'Menu 2',
menu:{items:[{id:"201",text:"Sub Menu 201"}]}
},{
id :'003',
text:'Menu 3'
}
]


but it seems i can't put/create handler for the submenu,:((
even does the handler generated an error.

anyone can help me...

Thank's
Best Regards.

jsakalos
11 May 2007, 3:01 AM
What about just one handler at toplevel?

reang
13 May 2007, 9:57 PM
I have tried your suggestions, but it doesn't solve my problem.

Thank's anyway.

lucassus
6 Jul 2007, 12:07 AM
i manage to create a recursive array in JSON (the code is above)

but it seems i can't put/create handler for the submenu,:((
even does the handler generated an error.

anyone can help me...

Thank's
Best Regards.

Hi!
Did anyone find solution for this problem?
This is very important for me.
Thanks for reply