Just giving this a little bump :)
As far as I can see you are overwriting your abbrs object. You must be
getting the last value. You may find jQuery.extend utility usefull:
http://docs.jquery.com/Utilities/jQuery.extend
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Mon, Feb 23, 2009 at 7:45 PM,
$.each(data.abbr_data, function(i,get_abbr_data)
{
var abbr = get_abbr_data.ABBR;
var desc = get_abbr_data.DESCRIPTION;
var lang =
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)
{
I would like to use Objects better, because I would like to use the
little search code. When I try and run the program the error message I
get from FF is 'Error: abbrs[somevar] is undefined'.
The full script:
$(#load_abbr_data).click(function()
{
var abbrs = {}
I would like to use Objects better, because I would like to use the
little search code. When I try and run the program the error message I
get from FF is 'Error: abbrs[somevar] is undefined'.
The full script:
$(#load_abbr_data).click(function()
{
var abbrs = {}
6 matches
Mail list logo