Help me please, this operation is best I have an object
var MyObj:{ obj1:{ ... prop: ['А', 'C', 'D', 'E'] ... }, obj2:{ ... prop: ['B', 'C', 'D', 'E'] ... }, obj3:{ ... prop: ['А', 'E'] ... }, obj4:{ ... prop: ['D', 'E'] ... } } I neet to get a new hash like this Props:{ A: ['obj1', 'obj3'], B: ['obj2'], C: ['obj1', 'obj2'], D: ['obj1', 'obj2', 'obj4'], E: ['obj1', 'obj2', 'obj3', 'obj4'], } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---