The way I was doing was wrong :(
It should have been

//userlist = {'users':['lila','lola','lyla']}
function makeupdate(userlist)
{
       var list = SELECT({'id':'userlist'}, map(partial(OPTION,
null), userlist.users));
       swapDOM('userlist', list);
}

Thanks to Karl for pointing this out :-)


--~--~---------~--~----~------------~-------~--~----~
 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