Matt foster wrote.....
var keys = $H(obj).keys(); http://prototypejs.org/api/hash/keys -- http://positionabsolute.net Alex Mcauley http://www.thevacancymarket.com ----- Original Message ----- From: ra kr To: Prototype & script.aculo.us Sent: Monday, August 10, 2009 5:01 PM Subject: [Proto-Scripty] Re: Getting keys from a JSON object returned from transport.responseText.evalJSON(); or for that matter any JSON object I do know about the for(var key in jsonObj) { jsonObj[key]; } On Mon, Aug 10, 2009 at 9:54 AM, krishna81m <[email protected]> wrote: I tried to google and search prototype API for a method that will give me just the keys in a JSON object. Is there none in Prototype and no way to know the keys? Regards Krishna --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
