Hello there,

I need advice from experts ! What is the best way to convert the
output of DOM.formContents() ( an array like : [ ['name1', 'name2',
'nameN'], ['value1', 'value2', 'valueN'] ] ) into an object like :
{ 'name1': 'value1', 'name2': 'value2', 'name3': 'value3'} ?

The problem is easy to solve, but I am just wondering if MochiKit
offers a quick and elegant answer to that (for instance, a kind of
opposite to Base.items() ).

Thanks,

paf


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to