I recommend using arrays as well :)

----
Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com



On Tue, Feb 24, 2009 at 5:58 PM, Mike Alsup <mal...@gmail.com> wrote:
>>                         $.each(data.abbr_data, function(i,get_abbr_data)
>>                         {
>>                                 var abbr = get_abbr_data.ABBR;
>>                                 var desc = get_abbr_data.DESCRIPTION;
>>                                 var lang =  get_abbr_data.LANG;
>>
>>                                 abbrs =
>>                                 {
>>                                         abbr : [desc],
>>                                 }
>>                         });
>>                 });
>>
>> });
>
>
> Try replace this:
>
> abbrs =
>    {
>        abbr : [desc],
>    }
>
>
> with this:
>
>
> abbrs[abbr] = [desc];
>

Reply via email to